This section gives an example of using LLVM. llvm-gcc3 is now obsolete,
-so we only include instructiosn for llvm-gcc4.
+so we only include instructions for llvm-gcc4.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 10 10:38:58 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 10 Apr 2009 10:38:58 -0500
Subject: [LLVMbugs] [Bug 3971] "instructiosn" instead of "instructions" in
docs/GettingStarted. html
In-Reply-To:
Message-ID: <200904101538.n3AFcwMI021733@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3971
Chris Lattner
changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-04-10 10:38:58 ---
Thanks, fixed!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 10 11:39:14 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 10 Apr 2009 11:39:14 -0500
Subject: [LLVMbugs] [Bug 3968] MachineSinking:: ProcessBlock crashes by
moving iterator off the begining of ilist
In-Reply-To:
Message-ID: <200904101639.n3AGdEtF024135@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3968
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Chris Lattner 2009-04-10 11:39:14 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090406/076200.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090406/076203.html
Thanks!
-Chris
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 10 15:04:12 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 10 Apr 2009 15:04:12 -0500
Subject: [LLVMbugs] [Bug 3972] New: Poor diagnostic with missing ')'
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3972
Summary: Poor diagnostic with missing ')'
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
We can do better:
--
ddunbar at 67-218-103-134:tmp$ cat t.c
int g0(int);
int f0(void) { return g0(g0(1); }
ddunbar at 67-218-103-134:tmp$ clang /tmp/t.c -fsyntax-only
/tmp/t.c:2:31: error: expected ')'
int f0(void) { return g0(g0(1); }
^
/tmp/t.c:2:25: note: to match this '('
int f0(void) { return g0(g0(1); }
^
/tmp/t.c:2:23: warning: incompatible pointer to integer conversion returning
'int (int)', expected 'int'
int f0(void) { return g0(g0(1); }
^~
3 diagnostics generated.
--
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 11 03:35:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 11 Apr 2009 03:35:29 -0500
Subject: [LLVMbugs] [Bug 3973] New: Version 186 does not allow cats in path
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3973
Summary: Version 186 does not allow cats in path
Product: clang
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: Basic
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: gerriet at mdenkmann.de
CC: llvmbugs at cs.uiuc.edu
When I start scan-build from:
/private/tmp/cur/checker-0.186/scan-build xcodebuild
it works.
But not any of these works:
/private/tmp/K??tzchen/checker-0.186/scan-build xcodebuild
/private/tmp/?????????/checker-0.186/scan-build xcodebuild
/private/tmp/???/checker-0.186/scan-build xcodebuild
/private/tmp/??????/checker-0.186/scan-build xcodebuild
I think that this restriction to mutts is rather unfortunate.
Same problem with version 177.
Version 144 works with all animals.
Kind regards
Gerriet.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 12 15:47:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 12 Apr 2009 15:47:47 -0500
Subject: [LLVMbugs] [Bug 3963] improve error recovery for mistyped "types"
In-Reply-To:
Message-ID: <200904122047.n3CKllbF014522@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3963
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Chris Lattner 2009-04-12 15:47:46 ---
In fact, I think that this fixes this whole issue:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090406/015412.html
On:
static foo_t x = 4;
We now produce:
t2.c:1:8: error: unknown type name 'foo_t'
static foo_t x = 4;
^
FWIW, GCC 4.0 produces:
t2.c:1: error: syntax error before ???x???
t2.c:1: warning: data definition has no type or storage class
And GCC 4.2 produces:
t2.c:1: error: expected ???=???, ???,???, ???;???, ???asm??? or
???__attribute__??? before ???x???
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 12 18:33:42 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 12 Apr 2009 18:33:42 -0500
Subject: [LLVMbugs] [Bug 3965] SIGINT handler not restored after calling
ParseAST()
In-Reply-To:
Message-ID: <200904122333.n3CNXgj1020464@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3965
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-04-12 18:33:41 ---
Thanks, patch applied here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090406/076236.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 12 18:51:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 12 Apr 2009 18:51:26 -0500
Subject: [LLVMbugs] [Bug 3932] [ObjC]Type defined as 'id' is not recognized
as a valid object type.
In-Reply-To:
Message-ID: <200904122351.n3CNpQbI021181@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3932
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Chris Lattner 2009-04-12 18:51:24 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090406/015435.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 12 18:59:44 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 12 Apr 2009 18:59:44 -0500
Subject: [LLVMbugs] [Bug 2375] verifier accepts bitcast of struct,
and langref claims it is valid
In-Reply-To:
Message-ID: <200904122359.n3CNxieu021522@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=2375
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Chris Lattner 2009-04-12 18:59:44 ---
This is "done enough" thanks Dan.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 12 19:11:14 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 12 Apr 2009 19:11:14 -0500
Subject: [LLVMbugs] [Bug 3972] Poor diagnostic with missing ')'
In-Reply-To:
Message-ID: <200904130011.n3D0BEgZ022069@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3972
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-04-12 19:11:13 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090406/015437.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 01:59:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 01:59:29 -0500
Subject: [LLVMbugs] [Bug 3975] New: llvm-gcc has some problem with int128
arithmetic
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3975
Summary: llvm-gcc has some problem with int128 arithmetic
Product: tools
Version: 2.2
Platform: PC
OS/Version: All
Status: NEW
Keywords: miscompilation
Severity: normal
Priority: P2
Component: llvm-g++
AssignedTo: unassignedbugs at nondot.org
ReportedBy: clattner at apple.com
CC: baldrick at free.fr, llvmbugs at cs.uiuc.edu
Consider this at -m64:
__uint128_t test2() {
const __uint128_t c_zero = ~0;
return c_zero;
}
This should compile to all 128 ones because the -1 signed integer sign extends
to i128. GCC produces the correct code:
__Z5test2v:
LFB8:
pushq %rbp
LCFI0:
movq %rsp, %rbp
LCFI1:
movq $-1, %rax
movq $-1, %rdx
leave
ret
but we compile it to 64 ones:
define i128 @_Z5test2v() nounwind readnone {
entry:
ret i128 18446744073709551615
}
I think this is some problem in llvm-gcc, because the -O0 IR is already wrong:
store i128 18446744073709551615, i128* %c_zero, align 16
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 08:54:55 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 08:54:55 -0500
Subject: [LLVMbugs] [Bug 3976] New: Assert in TargetLowering:: SimplifySetCC
when using intergers >= 256 bits
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3976
Summary: Assert in TargetLowering::SimplifySetCC when using
intergers >= 256 bits
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ddneff at hotmail.com
CC: llvmbugs at cs.uiuc.edu
TargetLowering::SimplifySetCC seems to assume that operands can fit inside an
uint64_t. If you write a program that has large integer types (256 or larger
in my case) this causes an assertion. I don't see any reason why APInt can't
be used instead of uint64_t in this situation. I wrote a patch that appears to
work, but I haven't put it through extensive testing.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 13:03:45 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 13:03:45 -0500
Subject: [LLVMbugs] [Bug 3975] llvm-gcc has some problem with int128
arithmetic
In-Reply-To:
Message-ID: <200904131803.n3DI3jJW005838@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3975
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|llvm-g++ |llvm-gcc
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-04-13 13:03:43 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076267.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076268.html
Maybe this will help fortran or something.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 13:43:14 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 13:43:14 -0500
Subject: [LLVMbugs] [Bug 3980] New: clang aborts on tentative definition
with incomplete type
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3980
Summary: clang aborts on tentative definition with incomplete
type
Product: clang
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Keywords: compile-fail
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: T.P.Northover at sms.ed.ac.uk
CC: llvmbugs at cs.uiuc.edu
When processing a tentative definition with a currently incomplete type, clang
tries to emit the code immediately and fails.
E.g.
struct foo x;
struct foo { int a; };
It should be equivalent to a definition with the type as known at the end of
the file (C99 6.9.2p2 I think).
Daniel Dunbar made a brief comment on the problem at
http://llvm.org/bugs/show_bug.cgi?id=3461#c5.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 14:26:42 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 14:26:42 -0500
Subject: [LLVMbugs] [Bug 3981] New: Recursive structure def. could use
better error diagnostics messages
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3981
Summary: Recursive structure def. could use better error
diagnostics messages
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: alexei.svitkine at gmail.com
CC: llvmbugs at cs.uiuc.edu
Consider the following C source code:
struct foo;
struct foo { struct foo f; };
The follow error output is produced:
s.c:2:25: error: field has incomplete type 'struct foo'
struct foo { struct foo f; };
^
s.c:2:8: note: definition of 'struct foo' is not complete until the closing '}'
struct foo { struct foo f; };
^
2 diagnostics generated.
These diagnostic messages could be improved. Particularly, the second message
is spurious.
On an unrelated note, perhaps "Diagnostics" should be a category in Bugzilla to
report bugs against...
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 15:04:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 15:04:50 -0500
Subject: [LLVMbugs] [Bug 3934] two-addr pass crashes on copy
In-Reply-To:
Message-ID: <200904132004.n3DK4oiW010629@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3934
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #10 from Evan Cheng 2009-04-13 15:04:49 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076280.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 16:23:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 16:23:05 -0500
Subject: [LLVMbugs] [Bug 3934] two-addr pass crashes on copy
In-Reply-To:
Message-ID: <200904132123.n3DLN5mX013617@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3934
Ed Schouten changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #11 from Ed Schouten 2009-04-13 16:23:05 ---
Crash still occurs when building the following code:
void bn_sqr_comba8(unsigned long *r, unsigned long *a)
{
unsigned long t1,t2;
unsigned long c1,c2,c3;
asm ("mulq %3" : "=a"(t1),"=d"(t2) : "a"((a)[1]),"m"((a)[0]) : "cc");
asm ("addq %0,%0; adcq %2,%1" : "+d"(t2),"+r"(c1) : "g"(0) : "cc");
asm ("addq %0,%0; adcq %2,%1" : "+a"(t1),"+d"(t2) : "g"(0) : "cc");
asm ("addq %2,%0; adcq %3,%1" : "+r"(c2),"+d"(t2) : "a"(t1),"g"(0) :
"cc");
asm ("addq %2,%0; adcq %3,%1" : "+r"(c3),"+r"(c1) : "d"(t2),"g"(0) :
"cc");
asm ("mulq %2" : "=a"(t1),"=d"(t2) : "a"(a[1]) : "cc");
asm ("addq %2,%0; adcq %3,%1" : "+r"(c3),"+d"(t2) : "a"(t1),"g"(0) :
"cc");
asm ("addq %2,%0; adcq %3,%1" : "+r"(c1),"+r"(c2) : "d"(t2),"g"(0) :
"cc");
asm ("mulq %3" : "=a"(t1),"=d"(t2) : "a"((a)[2]),"m"((a)[0]) : "cc");
asm ("addq %0,%0; adcq %2,%1" : "+d"(t2),"+r"(c2) : "g"(0) : "cc");
asm ("addq %0,%0; adcq %2,%1" : "+a"(t1),"+d"(t2) : "g"(0) : "cc");
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 16:30:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 16:30:51 -0500
Subject: [LLVMbugs] [Bug 3461] clang accepts initializer for incomplete type
In-Reply-To:
Message-ID: <200904132130.n3DLUpqH014097@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3461
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Eli Friedman 2009-04-13 16:30:51 ---
Fix committed in r68991.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 19:35:38 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 19:35:38 -0500
Subject: [LLVMbugs] [Bug 3934] two-addr pass crashes on copy
In-Reply-To:
Message-ID: <200904140035.n3E0ZcVm021065@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3934
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #12 from Evan Cheng 2009-04-13 19:35:38 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076295.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 20:03:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 20:03:06 -0500
Subject: [LLVMbugs] [Bug 3982] New: reject attribute weak on internal
variables
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3982
Summary: reject attribute weak on internal variables
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
--
ddunbar at 67-218-103-134:tmp$ cat x.c
static int x __attribute__((weak));
ddunbar at 67-218-103-134:tmp$ clang -fsyntax-only x.c
ddunbar at 67-218-103-134:tmp$ gcc -fsyntax-only x.c
x.c:1: error: weak declaration of 'x' must be public
--
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 13 21:22:04 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 13 Apr 2009 21:22:04 -0500
Subject: [LLVMbugs] [Bug 3983] New: Improve handling of variables with
different storage spec
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3983
Summary: Improve handling of variables with different storage
spec
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
This seems wrong, and the diagnostics could be nicer (see gcc):
--
void f0() {
// FIXME: Diagnose this?
int g6;
extern int g6;
}
void f1() {
// FIXME: Diagnose this?
int g7;
__private_extern__ int g7;
}
void f2() {
extern int g8; // expected-note{{previous definition}}
// FIXME: Improve this diagnostic.
int g8; // expected-error{{redefinition of 'g8'}}
}
void f3() {
__private_extern__ int g9; // expected-note{{previous definition}}
// FIXME: Improve this diagnostic.
int g9; // expected-error{{redefinition of 'g9'}}
}
--
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Tue Apr 14 01:48:13 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 14 Apr 2009 01:48:13 -0500
Subject: [LLVMbugs] [Bug 2933] clang should support "inline" properly.
In-Reply-To:
Message-ID: <200904140648.n3E6mDSB002376@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=2933
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #15 from Chris Lattner 2009-04-14 01:48:13 ---
Inline functions now get the right linkage types, so they get inlined properly.
We do not sema them (merge definitions) fully correctly though.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Tue Apr 14 01:50:49 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 14 Apr 2009 01:50:49 -0500
Subject: [LLVMbugs] [Bug 3712] Clang doesn't predefine __OPTIMIZE__ and
__PIC__ etc correctly
In-Reply-To:
Message-ID: <200904140650.n3E6onBv002512@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3712
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-04-14 01:50:49 ---
This is fixed.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Tue Apr 14 03:57:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 14 Apr 2009 03:57:40 -0500
Subject: [LLVMbugs] [Bug 2278] linux/x86-64 TLS support
In-Reply-To:
Message-ID: <200904140857.n3E8ve1B017705@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=2278
Rafael ??vila de Esp??ndola changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #11 from Rafael ??vila de Esp??ndola 2009-04-14 03:57:26 ---
X86-64 has the same features as X86 now. The only thing missing on both is the
local dynamic mode. Will open a new bug for that.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Tue Apr 14 04:08:12 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 14 Apr 2009 04:08:12 -0500
Subject: [LLVMbugs] [Bug 3985] New: x86 and x86-64 don't implement the local
dynamic TLS mode.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3985
Summary: x86 and x86-64 don't implement the local dynamic TLS
mode.
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: lli
AssignedTo: rafael.espindola at gmail.com
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
gcc with -fPIC on x86-64 compiles
static int __thread a;
static int __thread b;
int f(void)
{
return a + b;
}
to
leaq b at TLSLD(%rip), %rdi
call __tls_get_addr at PLT
movq %rax, %rdx
movl b at DTPOFF(%rax), %eax
addl a at DTPOFF(%rdx), %eax
ret
and on X86 to
pushl %esi
pushl %ebx
call ___i686.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
leal b at TLSLDM(%ebx), %eax
call ___tls_get_addr at PLT
movl %eax, %esi
movl b at DTPOFF(%eax), %eax
addl a at DTPOFF(%esi), %eax
popl %ebx
popl %esi
ret
note that there is only one call to ___tls_get_addr. We should implement that
on llvm.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Tue Apr 14 07:50:41 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 14 Apr 2009 07:50:41 -0500
Subject: [LLVMbugs] [Bug 3986] New: inline may be miscompiled in recent
revisions
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3986
Summary: inline may be miscompiled in recent revisions
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: preprocessor
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: roberto at freebsd.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2823)
--> (http://llvm.org/bugs/attachment.cgi?id=2823)
Virgin lex.c.blt code
I'm compiling Ruby from trunk with clang r69035 and I get undefined symbol
during link. The missing function is "tagged" with
__inline __attribute((__gnuc_inline__))
The second argument is ignored:
-----
In file included from ../parse.y:6010:
keywords:75:17: warning: '__gnu_inline__' attribute ignored
__attribute__ ((__gnu_inline__))
^
-----
so I guess that "__inline" is generating the miscompilation. Testing with
"inline" leads to the same error:
Undefined symbols:
"_rb_reserved_word", referenced from:
_reg_named_capture_assign_iter in parse.o
_parser_yylex in parse.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
My guess is that "inline"/"__inline" has been broken in recent revisions.
virgin code in "lex.c", copied from "lex.c.blt" (attached) is
-----
#ifdef __GNUC__
__inline
#ifdef __GNUC_STDC_INLINE__
__attribute__ ((__gnu_inline__))
#endif
#endif
const struct kwtable *
rb_reserved_word (str, len)
register const char *str;
register unsigned int len;
{
static const struct kwtable wordlist[] =
{
-----
r68705 was handling it correctly.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Tue Apr 14 11:45:57 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 14 Apr 2009 11:45:57 -0500
Subject: [LLVMbugs] [Bug 3986] clang doesn't support
__attribute((__gnuc_inline__))
In-Reply-To:
Message-ID: <200904141645.n3EGjvtR003857@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3986
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|inline may be miscompiled in|clang doesn't support
|recent revisions |__attribute((__gnuc_inline__
| |))
--- Comment #3 from Chris Lattner 2009-04-14 11:45:52 ---
This should fix it, please verify:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015525.html
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015526.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Tue Apr 14 14:27:00 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 14 Apr 2009 14:27:00 -0500
Subject: [LLVMbugs] [Bug 3987] New: clang generates invalid assembly for
Objective C code in 64 bit mode
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3987
Summary: clang generates invalid assembly for Objective C code in
64 bit mode
Product: clang
Version: unspecified
Platform: PC
OS/Version: MacOS X
Status: NEW
Keywords: compile-fail
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: benny.kra at gmail.com
CC: llvmbugs at cs.uiuc.edu
$ cat test.m
#import
@protocol Foo
@end
@interface Test : NSObject
@end
@implementation Test
@end
If this code is compiled with clang in 64 bit mode 'as' complains:
$ clang -m64 test.m
/tmp/cc-USvXbC.s:27:FATAL:symbol: l_OBJC_LABEL_PROTOCOL_$_Foo can't be a
weak_definition (currently only supported in section of type coalesced)
The code assembles fine in 32 bit mode.
(I don't know much Objective C so the test case might be reduced further. I've
extracted this from transmission)
I'm using OS X 10.5.6 (intel) and clang/llvm r69067.
$ as -v
Apple Inc version cctools-698~13, GNU assembler version 1.38
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Tue Apr 14 15:28:14 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 14 Apr 2009 15:28:14 -0500
Subject: [LLVMbugs] [Bug 3987] clang generates invalid assembly for
Objective C code in 64 bit mode
In-Reply-To:
Message-ID: <200904142028.n3EKSEfq012801@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3987
Fariborz Jahanian changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Tue Apr 14 15:28:49 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 14 Apr 2009 15:28:49 -0500
Subject: [LLVMbugs] [Bug 3989] New: C99 inline + extern function not being
emitted
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3989
Summary: C99 inline + extern function not being emitted
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
Codegen should emit a strong definition for this function in c99 mode because
extern gets merged onto it:
inline int toto(void)
{
}
extern int toto(void);
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Wed Apr 15 01:24:08 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 15 Apr 2009 01:24:08 -0500
Subject: [LLVMbugs] [Bug 3936] Instcombine quadratic in GEP chain length
In-Reply-To:
Message-ID: <200904150624.n3F6O82l001115@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3936
Nick Lewycky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Nick Lewycky 2009-04-15 01:24:08 ---
Fixed in r69151.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Wed Apr 15 01:55:07 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 15 Apr 2009 01:55:07 -0500
Subject: [LLVMbugs] [Bug 3981] Recursive structure def. could use better
error diagnostics messages
In-Reply-To:
Message-ID: <200904150655.n3F6t7rZ002402@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3981
Douglas Gregor changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dgregor at apple.com
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #3 from Douglas Gregor 2009-04-15 01:55:05 ---
The error message + note look really, really good to me: it's explaining
exactly what the problem is. I'm going to close this; if someone comes up with
a better wording for the diagnostics, please re-open with that suggestion.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Wed Apr 15 11:05:09 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 15 Apr 2009 11:05:09 -0500
Subject: [LLVMbugs] [Bug 3992] New: -include ignores includepath
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3992
Summary: -include ignores includepath
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ed at 80386.nl
CC: llvmbugs at cs.uiuc.edu
Blocks: 3696
$ cat test.c
int
main(int argc, char *argv[])
{
foo();
}
$ cat foo/test.h
#include
void foo(void) { puts("Hi"); }
$ cc -o test -Ifoo -include test.h test.c
In file included from :106:
:1:10: fatal error: '/home/ed/test.h' file not found
#include "/home/ed/test.h"
^
1 diagnostic generated.
$ gcc -o test -Ifoo -include test.h test.c
$ ./test
Hi
As you can see, the -include preprocessor option ignores the include paths.
This prevents us from building OpenSSL.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Wed Apr 15 15:46:08 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 15 Apr 2009 15:46:08 -0500
Subject: [LLVMbugs] [Bug 3994] New: tablegen intrinsic forcing wrong
register type on final parameter
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3994
Summary: tablegen intrinsic forcing wrong register type on final
parameter
Product: tools
Version: 2.5
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: TableGen
AssignedTo: unassignedbugs at nondot.org
ReportedBy: micah.villmow at amd.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2828)
--> (http://llvm.org/bugs/attachment.cgi?id=2828)
td test case that shows this problem
This is the "Tablegen question" thread.
This is what is generated in intrinsic.gen:
case Intrinsic::opencl_math_fdistance: //
llvm.opencl.math.fdistance
ResultTy = Type::FloatTy;
ArgTys.push_back(Tys[0]);
ArgTys.push_back(Tys[0]);
break;
This is the intrinsic definition:
def int_opencl_math_fdistance_fast : Intrinsic<[llvm_float_ty],
[llvm_anyfloat_ty, LLVMMatchType<0>]>;
The problem comes when I try to use the intrinsic. It gives me the following
error:
GPRV2F32:f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set GPRF32:f32:$dst,
(intrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0,
GPRV2F32:f32:$src1))
TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference contradiction found
in node!
I'm using the following test td file.
This is generated with putting it in include and running the command
Tablegen.exe -dag-isel -I. test.td
The pattern in question is:
ILFormat<(outs Dst:$dst), (ins Src:$src0, Src:$src1),
",($dst),($src0, $src1)",
[(set Dst:$dst, (OpNode Src:$src0, Src:$src1))]
As the intrinsic specifies, the two source register classes should be the same,
however, Tablegen is somehow interpreting that it should be
f32 instead of v2f32.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Wed Apr 15 17:11:09 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 15 Apr 2009 17:11:09 -0500
Subject: [LLVMbugs] [Bug 3980] clang aborts on tentative definition with
incomplete type
In-Reply-To:
Message-ID: <200904152211.n3FMB9do012858@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3980
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel at zuster.org
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Daniel Dunbar 2009-04-15 17:11:09 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015666.html
Sorry Tim, somehow I missed your patch.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Thu Apr 16 00:41:10 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 16 Apr 2009 00:41:10 -0500
Subject: [LLVMbugs] [Bug 3995] New: assertion "invalid memory reference"
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3995
Summary: assertion "invalid memory reference"
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu, nlewycky at google.com
Created an attachment (id=2831)
--> (http://llvm.org/bugs/attachment.cgi?id=2831)
testcase
This is a recent failure.
$ llvm-as < c.ll | llc
llc: X86ATTAsmPrinter.cpp:617: void
llvm::X86ATTAsmPrinter::printMemReference(const llvm::MachineInstr*, unsigned
int, const char*): Assertion `isMem(MI, Op) && "Invalid memory reference!"'
failed.
0 llc 0x089d33ea
1 llc 0x089d391d
2 0xffffe400 __kernel_sigreturn + 0
Stack dump:
0. Program arguments: llvm-commit/Debug/bin/llc
1. Running pass 'X86 AT&T-Style Assembly Printer' on function '@test'
Aborted
#0 0xffffe425 in __kernel_vsyscall ()
#1 0xf7c61640 in *__GI_raise (sig=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xf7c63008 in *__GI_abort () at abort.c:88
#3 0xf7c5a5ce in *__GI___assert_fail (
assertion=0x8a78824 "isMem(MI, Op) && \"Invalid memory reference!\"",
file=0x8a7800b "X86ATTAsmPrinter.cpp", line=617,
function=0x8a7c9e0 "void llvm::X86ATTAsmPrinter::printMemReference(const
llvm::MachineInstr*, unsigned int, const char*)") at assert.c:78
#4 0x0838aff4 in llvm::X86ATTAsmPrinter::printMemReference (this=0x9007af0,
MI=0x900d68c, Op=1, Modifier=0x0) at X86ATTAsmPrinter.cpp:617
#5 0x083939f3 in llvm::X86ATTAsmPrinter::printf64mem (this=0x9007af0,
MI=0x900d68c, OpNo=1) at X86ATTAsmPrinter.h:88
#6 0x0838bc35 in llvm::X86ATTAsmPrinter::printInstruction (this=0x9007af0,
MI=0x900d68c)
at
/home/nicholas/llvm-commit/lib/Target/X86/AsmPrinter/../X86GenAsmWriter.inc:2281
#7 0x0838d130 in llvm::X86ATTAsmPrinter::printMachineInstruction (
this=0x9007af0, MI=0x900d68c) at X86ATTAsmPrinter.cpp:765
#8 0x0838d43c in llvm::X86ATTAsmPrinter::runOnMachineFunction (
this=0x9007af0, MF=@0x900cfa0) at X86ATTAsmPrinter.cpp:253
#9 0x0873d1e3 in llvm::MachineFunctionPass::runOnFunction (this=0x9007af0,
F=@0x8fe9b90) at MachineFunction.cpp:47
#10 0x0895360a in llvm::FPPassManager::runOnFunction (this=0x8ff0e18,
F=@0x8fe9b90) at PassManager.cpp:1338
#11 0x089540f8 in llvm::FunctionPassManagerImpl::run (this=0x8fe7fd0,
F=@0x8fe9b90) at PassManager.cpp:1291
#12 0x089542c9 in llvm::FunctionPassManager::run (this=0xffb2caa8,
F=@0x8fe9b90) at PassManager.cpp:1233
#13 0x08049cb4 in main (argc=3, argv=0xffb2cbd4) at llc.cpp:322
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Thu Apr 16 07:35:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 16 Apr 2009 07:35:36 -0500
Subject: [LLVMbugs] [Bug 3995] assertion "invalid memory reference"
In-Reply-To:
Message-ID: <200904161235.n3GCZajX018861@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3995
Rafael ??vila de Esp??ndola changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Rafael ??vila de Esp??ndola 2009-04-16 07:35:35 ---
Fixed on 69284.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Thu Apr 16 11:39:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 16 Apr 2009 11:39:37 -0500
Subject: [LLVMbugs] [Bug 3997] New: llc lowers intrinsics incorrectly with
the presense of regparm attribute
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3997
Summary: llc lowers intrinsics incorrectly with the presense of
regparm attribute
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: haohui.mai at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2832)
--> (http://llvm.org/bugs/attachment.cgi?id=2832)
test case
llc does not handle this case correctly:
call void @llvm.memcpy.i32(i8* %3, i8* %4, i32 2052, i32 4)
%dst1 = bitcast [128 x i8]* %dst to i8* ; [#uses=1]
%src2 = bitcast [128 x i8]* %src to i8* ; [#uses=1]
%5 = call i8* @memcpy(i8* inreg %dst1, i8* inreg %src2, i32 inreg 128)
nounwind ; [#uses=0]
when llvm.memcpy.i32 lowers to call to memcpy, it does not follow the
customized memcpy calling convention.
for the first llvm.memcpy.i32, the generated assemblies are:
movl %eax, (%edx)
movl %ecx, 4(%edx)
movl $2052, 8(%edx)
call memcpy
for the second call of memcpy, the codes are:
leal -140(%ebp), %eax
leal -268(%ebp), %ecx
movl $128, %edx
movl %edx, -276(%ebp)
movl %ecx, %edx
movl -276(%ebp), %ecx
call memcpy
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Thu Apr 16 12:23:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 16 Apr 2009 12:23:26 -0500
Subject: [LLVMbugs] [Bug 3997] llc lowers intrinsics incorrectly with the
presense of regparm attribute
In-Reply-To:
Message-ID: <200904161723.n3GHNQ4c028872@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3997
Anton Korobeynikov changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |asl at math.spbu.ru
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Anton Korobeynikov 2009-04-16 12:23:25 ---
llc is doing correct thing here. The intrinsic does not have any regparm
attributes.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Thu Apr 16 16:40:58 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 16 Apr 2009 16:40:58 -0500
Subject: [LLVMbugs] [Bug 3944] mem2reg quadratic in number of in-edges to
block receiving a new phi node
In-Reply-To:
Message-ID: <200904162140.n3GLewff004503@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3944
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Eli Friedman 2009-04-16 16:40:57 ---
Committed in r69312.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Thu Apr 16 16:52:28 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 16 Apr 2009 16:52:28 -0500
Subject: [LLVMbugs] [Bug 3994] tablegen intrinsic forcing wrong register
type on final parameter
In-Reply-To:
Message-ID: <200904162152.n3GLqSQb004911@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3994
Bob Wilson changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bob.wilson at apple.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Bob Wilson 2009-04-16 16:52:28 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076396.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Thu Apr 16 17:12:49 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 16 Apr 2009 17:12:49 -0500
Subject: [LLVMbugs] [Bug 3998] New: LLVM JIT generates code into a fixed
size buffer
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3998
Summary: LLVM JIT generates code into a fixed size buffer
Product: new-bugs
Version: unspecified
Platform: All
URL: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=21
9
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: xerxes at zafena.se
CC: llvmbugs at cs.uiuc.edu
Forwarded this bug since it affects any JIT using LLVM.
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=219
Quoted from gbenson:
"
LLVM generates all code into a buffer of fixed size, and once this buffer is
filled it simply exits with an abort(), taking out the VM. Clearly this needs
fixing for Shark.
There are two possible places a fix could occur:
1) In lib/ExecutionEngine/JIT/JITEmitter.cpp, in JITEmitter::finishFunction.
This is where the abort() is; there's a FIXME saying to allocate more space
and try again.
2) In lib/ExecutionEngine/JIT/JITMemoryManager.cpp, by extending the default
memory manager to be able to grow the block or something.
"
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Thu Apr 16 19:30:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 16 Apr 2009 19:30:05 -0500
Subject: [LLVMbugs] [Bug 3502] Cross-compile llvm-gcc Linux x86 to arm-linux
In-Reply-To:
Message-ID: <200904170030.n3H0U5nx010313@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3502
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #18 from Evan Cheng 2009-04-16 19:30:03 ---
So it's fixed, right?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Thu Apr 16 21:57:30 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 16 Apr 2009 21:57:30 -0500
Subject: [LLVMbugs] [Bug 3510] llvm-gcc miscompiles simple static init in
-m64
In-Reply-To:
Message-ID: <200904170257.n3H2vURK014764@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3510
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #9 from Chris Lattner 2009-04-16 21:57:29 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076403.html
TEstcase here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076401.html
Duncan, I'd really appreciate a review of this change, thanks!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 17 16:07:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 17 Apr 2009 16:07:32 -0500
Subject: [LLVMbugs] [Bug 3901] clang: pathnames are not normalized in debug
info -> gdb can' t find file
In-Reply-To:
Message-ID: <200904172107.n3HL7Wjr024372@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3901
Devang Patel changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Devang Patel 2009-04-17 16:07:31 ---
Fixed.
rev 69387.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 17 18:40:14 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 17 Apr 2009 18:40:14 -0500
Subject: [LLVMbugs] [Bug 3940] #line numbers not fully checked
In-Reply-To:
Message-ID: <200904172340.n3HNeENE029329@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3940
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-04-17 18:40:11 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015763.html
Thanks Neil
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 17 18:57:53 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 17 Apr 2009 18:57:53 -0500
Subject: [LLVMbugs] [Bug 3916] #include corner cases
In-Reply-To:
Message-ID: <200904172357.n3HNvr1W029835@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3916
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Chris Lattner 2009-04-17 18:57:52 ---
Fixed here, thanks Neil!
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015764.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 17 20:14:31 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 17 Apr 2009 20:14:31 -0500
Subject: [LLVMbugs] [Bug 3937] Clang isn't checking macro argument counts
properly
In-Reply-To:
Message-ID: <200904180114.n3I1EVa0031937@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3937
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-04-17 20:14:29 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015769.html
Thanks!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 17 20:34:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 17 Apr 2009 20:34:50 -0500
Subject: [LLVMbugs] [Bug 3938] Clang rejects valid TU with -pedantic-errors
In-Reply-To:
Message-ID: <200904180134.n3I1Yo4I032482@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3938
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-04-17 20:34:50 ---
Fixed, thanks!
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015771.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 17 21:23:58 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 17 Apr 2009 21:23:58 -0500
Subject: [LLVMbugs] [Bug 3919] Missed Constraint 6.10.3p3 (C99) and c90
In-Reply-To:
Message-ID: <200904180223.n3I2Nwpf001684@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3919
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|Missed Constraint 6.10.3p3 |Missed Constraint 6.10.3p3
|(C99) |(C99) and c90
--- Comment #2 from Chris Lattner 2009-04-17 21:23:58 ---
C90 piece fixed here, thanks Neil!
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015772.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Fri Apr 17 22:47:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 17 Apr 2009 22:47:05 -0500
Subject: [LLVMbugs] [Bug 3987] clang generates invalid assembly for
Objective C code in 64 bit mode
In-Reply-To:
Message-ID: <200904180347.n3I3l5w2003991@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3987
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel at zuster.org
Status|RESOLVED |REOPENED
Resolution|WONTFIX |
--- Comment #2 from Daniel Dunbar 2009-04-17 22:47:02 ---
Reopening. This isn't won't fix, but it isn't a current priority. Patches
welcome!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 01:46:58 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 01:46:58 -0500
Subject: [LLVMbugs] [Bug 3927] Clang expands the same macro differently
depending on its identifier
In-Reply-To:
Message-ID: <200904180646.n3I6kw3T008843@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3927
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-04-18 01:46:57 ---
Nice catch, I'm impressed that you found that by inspection. Fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015777.html
I checked the rest of liblex for uses of is(tok::identifier). The ones that
are left are:
lib/Lex/Preprocessor.cpp: assert(Identifier.is(tok::identifier) && "Not an
identifier!");
This is checking for identifier info lookup, it is ok.
lib/Lex/TokenLexer.cpp: if (Tok.is(tok::identifier) &&
RHS.is(tok::identifier)) {
This is an optimization, it doesn't matter for keywords.
lib/Lex/TokenLexer.cpp: if (Tok.is(tok::identifier)) {
This is another identifierinfo lookup case.
So I think we're ok, nice catch!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 08:21:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 08:21:06 -0500
Subject: [LLVMbugs] [Bug 3999] New: CodeGen/PowerPC/vec_splat. ll fails when
legalize types is turned on
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3999
Summary: CodeGen/PowerPC/vec_splat.ll fails when legalize types
is turned on
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
I need some help with this one. It is blocking the removal of
the old type legalization code. I think it needs to be fixed
in the ppc backend. Here's the relevant part of the test:
define void @splat_h(i16 %tmp, <16 x i8>* %dst) nounwind {
%tmp.upgrd.1 = insertelement <8 x i16> undef, i16 %tmp, i32 0
%tmp72 = insertelement <8 x i16> %tmp.upgrd.1, i16 %tmp, i32 1
%tmp73 = insertelement <8 x i16> %tmp72, i16 %tmp, i32 2
%tmp74 = insertelement <8 x i16> %tmp73, i16 %tmp, i32 3
%tmp75 = insertelement <8 x i16> %tmp74, i16 %tmp, i32 4
%tmp76 = insertelement <8 x i16> %tmp75, i16 %tmp, i32 5
%tmp77 = insertelement <8 x i16> %tmp76, i16 %tmp, i32 6
%tmp78 = insertelement <8 x i16> %tmp77, i16 %tmp, i32 7
%tmp78.upgrd.2 = bitcast <8 x i16> %tmp78 to <16 x i8>
store <16 x i8> %tmp78.upgrd.2, <16 x i8>* %dst
ret void
}
Here's a diff between compiling with
llc -march=ppc32 -mcpu=g5 vec_splat.bc -disable-legalize-types
and
llc -march=ppc32 -mcpu=g5 vec_splat.bc
< sth 3, -16(1)
< addi 3, 1, -16
< lvx 2, 0, 3
< vsplth 2, 2, 0
---
> rlwimi 3, 3, 16, 0, 15
> addi 6, 1, -16
> stw 3, -16(1)
> lvx 2, 0, 6
> vspltw 2, 2, 0
The DAG coming out of legalize types is now very reasonable after
Bob's BUILD_VECTOR changes (note that the vector of v8i16 is being
built from i32 operands):
Optimized type-legalized selection DAG:
SelectionDAG has 9 nodes:
0x1970718: ch = EntryToken
0x1970718:
0x1970cb8: i32 = Register #1024
0x1970db0: i32,ch = CopyFromReg 0x1970718, 0x1970cb8
0x1970718:
0x1970db0:
0x1970db0:
0x1970db0:
0x1970db0:
0x1970db0:
0x1970db0:
0x1970db0:
0x1970db0:
0x1970ac8: v8i16 = BUILD_VECTOR 0x1970db0, 0x1970db0, 0x1970db0,
0x1970db0, 0x1970db0, 0x1970db0, 0x1970db0, 0x1970db0
0x1970718:
0x1970ea8: i32 = Register #1025
0x1970fa0: i32,ch = CopyFromReg 0x1970718, 0x1970ea8
0x19957c0: i32 = undef
0x1995aa8: ch = store 0x1970718, 0x1970ac8, 0x1970fa0, 0x19957c0
<0x1961520:0> alignment=16
0x19959b0: ch = ret 0x1995aa8
This then gets turned into something horrible by operand legalization.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 08:33:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 08:33:35 -0500
Subject: [LLVMbugs] [Bug 4000] New: LLVM has too many bugs
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4000
Summary: LLVM has too many bugs
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
I suggest rejecting any bug reports that would bring the
total number to more than 3999 reports!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 11:08:04 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 11:08:04 -0500
Subject: [LLVMbugs] [Bug 4001] New: assertion failed in lshr <2 x i64>
without sse2
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4001
Summary: assertion failed in lshr <2 x i64> without sse2
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu
Given test/CodeGen/X86/vshift_split.ll, which for reference reads:
define <2 x i64> @update(<2 x i64> %val) nounwind readnone {
entry:
%shr = lshr <2 x i64> %val, < i64 2, i64 2 > ; <<2 x i64>>
[#uses=1]
ret <2 x i64> %shr
}
running llvm-as < vshift_split.ll | llc -march=-sse2 triggers an assertion
failure:
llc: LegalizeDAG.cpp:517:
void::SelectionDAGLegalize::HandleOp(llvm::SDValue): Assertion
`(TypesNeedLegalizing || getTypeAction(VT) == Legal || IsLegalizingCallArgs ||
Op.getOpcode() == ISD::TargetConstant || Op.getOpcode() == ISD::BUILD_VECTOR)
&& "Illegal type introduced after type legalization?"' failed.
0 llc 0x089a99e2
1 llc 0x089a9f89
2 0xffffe400 __kernel_sigreturn + 0
Stack dump:
0. Program arguments: llc -mattr=-sse2
1. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@update'
It'd be nice if this didn't crash.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 12:18:45 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 12:18:45 -0500
Subject: [LLVMbugs] [Bug 4000] LLVM has too many bugs
In-Reply-To:
Message-ID: <200904181718.n3IHIjn5005401@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4000
Dale Johannesen changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dalej at apple.com
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Dale Johannesen 2009-04-18 12:18:44 ---
Excellent idea. Rejected.
(How long have you been watching for this?:)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 12:23:04 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 12:23:04 -0500
Subject: [LLVMbugs] [Bug 4002] New: internal compiler error while compiling
llvm-gcc
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4002
Summary: internal compiler error while compiling llvm-gcc
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: System Library
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rajika.kumarasiri at gmail.com
CC: llvmbugs at cs.uiuc.edu
I am getting following compiler error while compiling the llvm-gcc revision
69400.
cc1: /home/rajika/projects/llvm/llvm/lib/CodeGen/RegAllocLocal.cpp:848:
void::RALocal::AllocateBasicBlock(llvm::MachineBasicBlock&): Assertion
`(!PhysRegsUsed[PhysReg] || PhysRegsUsed[PhysReg] == -1) && "Silently clearing
a virtual register?"' failed.
../../../llvm-gcc-4.2/libgomp/team.c:341: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[3]: *** [team.lo] Error 1
make[3]: Leaving directory
`/home/rajika/projects/llvm/llvm-gcc-4.2-objects/i686-pc-linux-gnu/libgomp'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/rajika/projects/llvm/llvm-gcc-4.2-objects/i686-pc-linux-gnu/libgomp'
make[1]: *** [install-target-libgomp] Error 2
make[1]: Leaving directory `/home/rajika/projects/llvm/llvm-gcc-4.2-objects'
make: *** [install] Error 2
System information,
Running fedora 9/kernel - 2.6.27.19-78.2.30.fc9.i686.PAE
gcc version 4.2.4
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 15:11:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 15:11:06 -0500
Subject: [LLVMbugs] [Bug 4003] New: Remove SCALAR_TO_VECTOR
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4003
Summary: Remove SCALAR_TO_VECTOR
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
The SCALAR_TO_VECTOR codegen node is redundant: it is
equivalent to BUILD_VECTOR(Value, undef, undef, ...).
It should probably be removed.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 15:49:38 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 15:49:38 -0500
Subject: [LLVMbugs] [Bug 3898] Incomplete breakdown of soft-float vectors
In-Reply-To:
Message-ID: <200904182049.n3IKncQL013609@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3898
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Chris Lattner 2009-04-18 15:49:38 ---
Patch applied here, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076455.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076456.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 16:12:17 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 16:12:17 -0500
Subject: [LLVMbugs] [Bug 3226] clang infinite loop on the attached code
snippet
In-Reply-To:
Message-ID: <200904182112.n3ILCH2h014469@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3226
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Daniel Dunbar 2009-04-18 16:12:16 ---
This behaves correctly, I have decided.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 16:29:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 16:29:36 -0500
Subject: [LLVMbugs] [Bug 3226] clang infinite loop on the attached code
snippet
In-Reply-To:
Message-ID: <200904182129.n3ILTadv014975@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3226
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |FIXED
--- Comment #3 from Chris Lattner 2009-04-18 16:29:36 ---
This is now rejected:
t.m:4:5: error: illegal goto into protected scope
goto L;
^
t.m:5:5: note: jump bypasses initialization of @finally block
} @finally {
^
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 16:46:18 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 16:46:18 -0500
Subject: [LLVMbugs] [Bug 4004] New: invalid TLS with -relocation-model=pic
-regalloc=local
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4004
Summary: invalid TLS with -relocation-model=pic -regalloc=local
Product: tools
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: llc
AssignedTo: rafael.espindola at gmail.com
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Compiling
@a = thread_local global i32 0 ; [#uses=2]
define void @f(i32* nocapture %c, i32* nocapture %d) nounwind optsize {
entry:
%0 = load i32* @a, align 4 ; [#uses=1]
store i32 %0, i32* %c, align 4
%1 = load i32* @a, align 4 ; [#uses=1]
store i32 %1, i32* %d, align 4
ret void
}
with llc -relocation-model=pic -regalloc=local produces
.byte 0x66; leaq a at TLSGD(%rip), %rdi; .word 0x6666; rex64
movq %rax, -8(%rsp)
movq %rcx, -16(%rsp)
call __tls_get_addr at PLT
This is invalid. The call must be just after the rex64.
I think this is a more general problem with the local register allocator. It is
inserting spills between two instructions linked by a flag.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 16:49:27 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 16:49:27 -0500
Subject: [LLVMbugs] [Bug 3999] CodeGen/PowerPC/vec_splat. ll fails when
legalize types is turned on
In-Reply-To:
Message-ID: <200904182149.n3ILnRHw015555@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3999
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Duncan Sands 2009-04-18 16:49:26 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090413/076454.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sat Apr 18 17:30:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 18 Apr 2009 17:30:40 -0500
Subject: [LLVMbugs] [Bug 3917] __LINE__ wrong value
In-Reply-To:
Message-ID: <200904182230.n3IMUejm016819@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3917
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Chris Lattner 2009-04-18 17:30:40 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015821.html
Several other patches were related to this before it.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 00:12:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 00:12:36 -0500
Subject: [LLVMbugs] [Bug 4005] New: wrong arm abi selected
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4005
Summary: wrong arm abi selected
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu
The ARM build on a little-endian ARM with EBI fails with this:
/home/nlewycky/llvm-gcc/build/./gcc/xgcc -B/home/nlewycky/llvm-gcc/build/./gcc/
-B/home/nlewycky/llvm-gcc/install/armv7l-unknown-linux-gnu/bin/ [[...]]
/usr/bin/ld: unrecognised emulation mode: armelf_linux
Supported emulations: armelf_linux_eabi armelfb_linux_eabi
collect2: ld returned 1 exit status
make[4]: *** [libgcc_s.so] Error 1
In llvm-gcc gcc/config/arm there's linux-elf.h which chooses armelf_linux and
linux-eabi.h which chooses armelf_linux_eabi. The latter is correct, but the
former is being chosen. Why?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 02:21:20 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 02:21:20 -0500
Subject: [LLVMbugs] [Bug 4006] New: variable argument macro argumetn count
issues
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4006
Summary: variable argument macro argumetn count issues
Product: clang
Version: unspecified
Platform: PC
OS/Version: NetBSD
Status: NEW
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: neil at daikokuya.co.uk
CC: llvmbugs at cs.uiuc.edu
#define e(...) __VA_ARGS__
#if e() 0
#error
#endif
gives
~/src/nobackup/llvm/Release-Asserts/bin/clang-cc -pedantic-errors -std=c99
/tmp/bug.c
/tmp/bug.c:1:16: error: __VA_ARGS__ can only appear in the expansion of a C99
variadic macro
#define e(...) __VA_ARGS__
^
/tmp/bug.c:2:7: error: varargs argument missing, but tolerated as an extension
#if e() 0
^
2 diagnostics generated.
both of which appear bogus.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 12:32:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 12:32:51 -0500
Subject: [LLVMbugs] [Bug 3970] clang doesn't support fp stack in inline asm
yet
In-Reply-To:
Message-ID: <200904191732.n3JHWp3H016067@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3970
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Chris Lattner 2009-04-19 12:32:50 ---
Ok, here ya go:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015858.html
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015859.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 13:27:33 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 13:27:33 -0500
Subject: [LLVMbugs] [Bug 4006] variable argument macro argumetn count issues
In-Reply-To:
Message-ID: <200904191827.n3JIRX24017743@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4006
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-04-19 13:27:32 ---
First warning fixed here, it was specific to __VA_ARGS__ being the first token
of a macro definition:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015864.html
Please reopen this if you disagree with my analysis of the second issue.
Thanks Neil!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 15:08:02 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 15:08:02 -0500
Subject: [LLVMbugs] [Bug 3918] Invalid use of __VA_ARGS__ not diagnosed
In-Reply-To:
Message-ID: <200904192008.n3JK82G1020944@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3918
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Chris Lattner 2009-04-19 15:08:01 ---
This was actually a general problem with all poisoning. Fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090413/015867.html
I need to enhance some diags stuff before I add a testcase.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 17:17:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 17:17:26 -0500
Subject: [LLVMbugs] [Bug 4006] variable argument macro argumetn count issues
In-Reply-To:
Message-ID: <200904192217.n3JMHQ8W025205@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4006
Neil Booth changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #3 from Neil Booth 2009-04-19 17:17:25 ---
But there is one argument, it's just empty.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 17:24:03 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 17:24:03 -0500
Subject: [LLVMbugs] [Bug 4008] New: ".." doesn't make it through "clang -E"
intact
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4008
Summary: ".." doesn't make it through "clang -E" intact
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
..
Output of "gcc -E":
# 1 ""
# 1 ""
# 1 ""
# 1 ""
..
Output of "clang -E":
# 1 ""
# 1 "" 1
# 1 "" 1
# 103 ""
# 103 "" 1
# 104 "" 2
# 1 "" 2
. .
This issue blocks building emacs; the emacs build system runs its makefiles
through the C preprocessor. Relevant snippet:
ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
-I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 18:07:20 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 18:07:20 -0500
Subject: [LLVMbugs] [Bug 4009] New: Crash with -instcombine -indvars
("Assertion `L-> isLCSSAForm()' failed.")
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4009
Summary: Crash with -instcombine -indvars ("Assertion `L-
>isLCSSAForm()' failed.")
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2835)
--> (http://llvm.org/bugs/attachment.cgi?id=2835)
Testcase
Testcase attached; to reproduce, run "opt bugpoint-reduced-simplified.bc
-instcombine -indvars".
Reduced from a file in emacs compiled with clang.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 22:01:58 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 22:01:58 -0500
Subject: [LLVMbugs] [Bug 3307] gcc compat: clang rejects pointer/ int
mismatch in conditional expression
In-Reply-To:
Message-ID: <200904200301.n3K31wEt002804@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3307
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sharparrow1 at yahoo.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Eli Friedman 2009-04-19 22:01:57 ---
THis was fixed in r68617.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 22:04:57 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 22:04:57 -0500
Subject: [LLVMbugs] [Bug 3689] clang: support -dD -E
In-Reply-To:
Message-ID: <200904200304.n3K34vjD002918@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3689
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Eli Friedman 2009-04-19 22:04:57 ---
This was fixed in r68884.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 22:22:13 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 22:22:13 -0500
Subject: [LLVMbugs] [Bug 3248] Operand of sizeof(vla) not evaluated
In-Reply-To:
Message-ID: <200904200322.n3K3MDi8003466@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3248
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Eli Friedman 2009-04-19 22:22:12 ---
Fix committed in r69566.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 22:54:34 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 22:54:34 -0500
Subject: [LLVMbugs] [Bug 3247] Assertion in VLA codegen with sizeof+cast
In-Reply-To:
Message-ID: <200904200354.n3K3sYHm004560@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3247
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Eli Friedman 2009-04-19 22:54:34 ---
Fixed in r69567.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Sun Apr 19 23:50:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 19 Apr 2009 23:50:51 -0500
Subject: [LLVMbugs] [Bug 4012] New: The clang web page looks atrocious in IE
6.0
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4012
Summary: The clang web page looks atrocious in IE 6.0
Product: Documentation
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: General docs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2838)
--> (http://llvm.org/bugs/attachment.cgi?id=2838)
clang.llvm.org in IE
See screenshot.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at cs.uiuc.edu Mon Apr 20 01:08:02 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 20 Apr 2009 01:08:02 -0500
Subject: [LLVMbugs] [Bug 4017] New: crash in bitfield diagnostic
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4017
Summary: crash in bitfield diagnostic
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
clang crashes in diagnostic printing for:
--
struct s0 { char : 10; };
--
and
--
struct s0 { unsigned : -2; };
--
--
ddunbar at ozzy:tmp$ echo "struct s0 { char : 10 };" | clang-cc
:1:13: error: 0 clang-cc 0x0000000100b09310
PrintStackTrace(void*) + 38
1 clang-cc 0x0000000100b09820 SignalHandler(int) + 288
2 libSystem.B.dylib 0x00007fff80aa58ba _sigtramp + 26
3 libSystem.B.dylib 0x00007fff5fbfa4e0 _sigtramp + 3742714944
4 clang-cc 0x00000001003bf90d
clang::DiagnosticInfo::FormatDiagnostic(llvm::SmallVectorImpl&) const +
1485
5 clang-cc 0x00000001002b8d3c
clang::TextDiagnosticPrinter::HandleDiagnostic(clang::Diagnostic::Level,
clang::DiagnosticInfo const&) + 1430
6 clang-cc 0x00000001003bfba8 clang::Diagnostic::ProcessDiag() + 474
7 clang-cc 0x000000010036d12c clang::DiagnosticBuilder::Emit() + 96
8 clang-cc 0x00000001001bbd3c
clang::Sema::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() + 22
9 clang-cc 0x00000001001c7673
clang::Sema::VerifyBitField(clang::SourceLocation, clang::IdentifierInfo*,
clang::QualType, clang::Expr const*) + 1031
10 clang-cc 0x00000001001cafb4
clang::Sema::CheckFieldDecl(clang::DeclarationName, clang::QualType,
clang::RecordDecl*, clang::SourceLocation, bool, clang::Expr*,
clang::AccessSpecifier, clang::NamedDecl*, clang::Declarator*) + 458
11 clang-cc 0x00000001001d2504
clang::Sema::HandleField(clang::Scope*, clang::RecordDecl*,
clang::SourceLocation, clang::Declarator&, clang::Expr*,
clang::AccessSpecifier) + 620
12 clang-cc 0x00000001001d25e3 clang::Sema::ActOnField(clang::Scope*,
clang::OpaquePtr<0>, clang::SourceLocation, clang::Declarator&, void*) + 89
13 clang-cc 0x000000010035b0ed
clang::Parser::ParseStructUnionBody(clang::SourceLocation, unsigned int,
clang::OpaquePtr<0>) + 825
14 clang-cc 0x000000010036386a
clang::Parser::ParseClassSpecifier(clang::tok::TokenKind,
clang::SourceLocation, clang::DeclSpec&, llvm::SmallVector*,
clang::AccessSpecifier) + 2290
15 clang-cc 0x0000000100358e39
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&,
llvm::SmallVector*, clang::AccessSpecifier) + 4723
16 clang-cc 0x000000010038bd26
clang::Parser::ParseDeclarationOrFunctionDefinition(llvm::SmallVector*, clang::AccessSpecifier) + 92
17 clang-cc 0x000000010038c9e7
clang::Parser::ParseExternalDeclaration() + 1237
18 clang-cc 0x000000010038ca98
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<1>&) + 106
19 clang-cc 0x00000001001bb1c7 clang::ParseAST(clang::Preprocessor&,
clang::ASTConsumer*, clang::ASTContext&, bool, bool) + 365
20 clang-cc 0x00000001000744f3 ProcessInputFile(clang::Preprocessor&,
clang::PreprocessorFactory&, std::string const&, ProgActions) + 2558
21 clang-cc 0x00000001000778ed main + 2149
22 clang-cc 0x00000001000272ec start + 52
Stack dump:
0. Program arguments: clang-cc
1. :1:23: current parser token '}'
2. :1:1: parsing struct/union body 's0'
Segmentation fault
ddunbar at ozzy:tmp$ echo "struct s0 { char : -2 };" | clang-cc
:1:13: error: 0 clang-cc 0x0000000100b09310
PrintStackTrace(void*) + 38
1 clang-cc 0x0000000100b09820 SignalHandler(int) + 288
2 libSystem.B.dylib 0x00007fff80aa58ba _sigtramp + 26
3 libSystem.B.dylib 0x00007fff5fbfa4e0 _sigtramp + 3742714944
4 clang-cc 0x00000001003bf90d
clang::DiagnosticInfo::FormatDiagnostic(llvm::SmallVectorImpl&) const +
1485
5 clang-cc 0x00000001002b8d3c
clang::TextDiagnosticPrinter::HandleDiagnostic(clang::Diagnostic::Level,
clang::DiagnosticInfo const&) + 1430
6 clang-cc 0x00000001003bfba8 clang::Diagnostic::ProcessDiag() + 474
7 clang-cc 0x000000010036d12c clang::DiagnosticBuilder::Emit() + 96
8 clang-cc 0x00000001001bbd3c
clang::Sema::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() + 22
9 clang-cc 0x00000001001c759c
clang::Sema::VerifyBitField(clang::SourceLocation, clang::IdentifierInfo*,
clang::QualType, clang::Expr const*) + 816
10 clang-cc 0x00000001001cafb4
clang::Sema::CheckFieldDecl(clang::DeclarationName, clang::QualType,
clang::RecordDecl*, clang::SourceLocation, bool, clang::Expr*,
clang::AccessSpecifier, clang::NamedDecl*, clang::Declarator*) + 458
11 clang-cc 0x00000001001d2504
clang::Sema::HandleField(clang::Scope*, clang::RecordDecl*,
clang::SourceLocation, clang::Declarator&, clang::Expr*,
clang::AccessSpecifier) + 620
12 clang-cc 0x00000001001d25e3 clang::Sema::ActOnField(clang::Scope*,
clang::OpaquePtr<0>, clang::SourceLocation, clang::Declarator&, void*) + 89
13 clang-cc 0x000000010035b0ed
clang::Parser::ParseStructUnionBody(clang::SourceLocation, unsigned int,
clang::OpaquePtr<0>) + 825
14 clang-cc 0x000000010036386a
clang::Parser::ParseClassSpecifier(clang::tok::TokenKind,
clang::SourceLocation, clang::DeclSpec&, llvm::SmallVector*,
clang::AccessSpecifier) + 2290
15 clang-cc 0x0000000100358e39
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&,
llvm::SmallVector