From bugzilla-daemon at llvm.org Wed Sep 1 02:04:31 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 04:04:31 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8049] New: [PATCH] Add support for mingw gcc 4.5.0
headers
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8049
Summary: [PATCH] Add support for mingw gcc 4.5.0 headers
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Headers
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ismail at namtrac.org
CC: llvmbugs at cs.uiuc.edu
Mingw gcc 4.5.0 is out for some time now, it would be nice to support 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 llvm.org Wed Sep 1 04:53:16 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 06:53:16 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8050] New: --experimental-checks: Assertion `D &&
"Cannot get layout of forward declarations!"
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8050
Summary: --experimental-checks: Assertion `D && "Cannot get
layout of forward declarations!"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: kremenek at apple.com
ReportedBy: dimhen at gmail.com
CC: llvmbugs at cs.uiuc.edu
$ clang --version
clang version 2.8 (trunk 112697)
Target: x86_64-unknown-linux-gnu
Thread model: posix
$ cat tst.c
#include
struct S;
void foo(struct S **arg)
{
*arg = malloc(1);
}
$ clang -cc1 tst.c -analyze -analyzer-check-objc-mem
-analyzer-experimental-internal-checks -analyzer-experimental-checks
clang: RecordLayoutBuilder.cpp:1502: const clang::ASTRecordLayout&
clang::ASTContext::getASTRecordLayout(const clang::RecordDecl*): Assertion `D
&& "Cannot get layout of forward declarations!"' failed.
0 clang 0x000000000134c74f
1 clang 0x000000000134e7ba
2 libpthread.so.0 0x00000032c4e0f0f0
3 libc.so.6 0x00000032c46326c5 gsignal + 53
4 libc.so.6 0x00000032c4633ea5 abort + 373
5 libc.so.6 0x00000032c462b7b5 __assert_fail + 245
6 clang 0x0000000000bdeb53
clang::ASTContext::getASTRecordLayout(clang::RecordDecl const*) + 1523
7 clang 0x0000000000b5c54f
clang::ASTContext::getTypeInfo(clang::Type const*) + 1807
8 clang 0x0000000000b5c823
clang::ASTContext::getTypeSizeInChars(clang::QualType) + 51
9 clang 0x0000000000af7cc2
10 clang 0x0000000000a7e5ef
clang::GRExprEngine::CheckerVisit(clang::Stmt const*, clang::ExplodedNodeSet&,
clang::ExplodedNodeSet&, clang::GRExprEngine::CallbackKind) + 575
11 clang 0x0000000000a89cab
clang::GRExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*,
clang::ExplodedNode*, clang::ExplodedNodeSet&, bool) + 1867
12 clang 0x0000000000a81a46 clang::GRExprEngine::Visit(clang::Stmt
const*, clang::ExplodedNode*, clang::ExplodedNodeSet&) + 566
13 clang 0x0000000000a86543
clang::GRExprEngine::VisitBinaryOperator(clang::BinaryOperator const*,
clang::ExplodedNode*, clang::ExplodedNodeSet&, bool) + 691
14 clang 0x0000000000a82015 clang::GRExprEngine::Visit(clang::Stmt
const*, clang::ExplodedNode*, clang::ExplodedNodeSet&) + 2053
15 clang 0x0000000000a8b79e
clang::GRExprEngine::ProcessStmt(clang::CFGElement, clang::GRStmtNodeBuilder&)
+ 846
16 clang 0x0000000000a77147
clang::GRCoreEngine::HandlePostStmt(clang::PostStmt const&, clang::CFGBlock
const*, unsigned int, clang::ExplodedNode*) + 167
17 clang 0x0000000000a77698
clang::GRCoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned
int, clang::GRState const*) + 952
18 clang 0x0000000000a1ec48
19 clang 0x0000000000a1f851
20 clang 0x0000000000a1fbf2
21 clang 0x0000000000811fdd clang::ParseAST(clang::Sema&, bool) + 301
22 clang 0x00000000006077dd
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 349
23 clang 0x00000000005e8d8c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1276
24 clang 0x00000000005dfb91 cc1_main(char const**, char const**, char
const*, void*) + 417
25 clang 0x00000000005e7883 main + 4051
26 libc.so.6 0x00000032c461eb1d __libc_start_main + 253
27 clang 0x00000000005df7f9
Stack dump:
0. Program arguments: clang -cc1 tst.c -analyze -analyzer-check-objc-mem
-analyzer-experimental-internal-checks -analyzer-experimental-checks
1. parser at end of file
2. tst.c:6:5: Error evaluating statement
3. tst.c:6:5: Error evaluating statement
4. tst.c:6:12: Error evaluating statement
Aborted (core dumped)
--
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 llvm.org Wed Sep 1 07:37:31 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 09:37:31 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8051] New: Linear Scan Register Allocator crash /
invalid memory usage
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8051
Summary: Linear Scan Register Allocator crash / invalid memory
usage
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5436)
--> (http://llvm.org/bugs/attachment.cgi?id=5436)
testcase .ll
The attached testcase causes llc to crash:
$ llc -relocation-model=pic -disable-fp-elim linearscan.ll
llc: llvm/lib/CodeGen/RegAllocLinearScan.cpp:1177:
void::RALinScan::assignRegOrStackSlotAtInterval(llvm::LiveInterval*):
Assertion `false && "Ran out of registers during register allocation!"' failed.
Valgrind says:
Invalid read of size 4
at 0xA57721: (anonymous
namespace)::RALinScan::assignRegOrStackSlotAtInterval(llvm::LiveInterval*)
(LiveInterval.h:281)
by 0xA59F40: (anonymous
namespace)::RALinScan::assignRegOrStackSlotAtInterval(llvm::LiveInterval*)
(RegAllocLinearScan.cpp:1175)
by 0xA5AE5E: (anonymous namespace)::RALinScan::linearScan()
(RegAllocLinearScan.cpp:564)
by 0xA5BFC9: (anonymous
namespace)::RALinScan::runOnMachineFunction(llvm::MachineFunction&)
(RegAllocLinearScan.cpp:490)
by 0xCBB68C: llvm::FPPassManager::runOnFunction(llvm::Function&)
(PassManager.cpp:1443)
by 0xCBB78A: llvm::FPPassManager::runOnModule(llvm::Module&)
(PassManager.cpp:1463)
by 0xCBB216: llvm::MPPassManager::runOnModule(llvm::Module&)
(PassManager.cpp:1517)
by 0xCBB396: llvm::PassManagerImpl::run(llvm::Module&) (PassManager.cpp:1598)
by 0x51A6AF: main (llc.cpp:325)
Address 0x5e8c928 is not stack'd, malloc'd or (recently) free'd
Conditional jump or move depends on uninitialised value(s)
at 0xB13D22: llvm::LiveInterval::overlapsFrom(llvm::LiveInterval const&,
llvm::LiveRange const*) const (LiveInterval.cpp:129)
by 0xA5776C: (anonymous
namespace)::RALinScan::assignRegOrStackSlotAtInterval(llvm::LiveInterval*)
(RegAllocLinearScan.cpp:1042)
by 0xA59F40: (anonymous
namespace)::RALinScan::assignRegOrStackSlotAtInterval(llvm::LiveInterval*)
(RegAllocLinearScan.cpp:1175)
by 0xA5AE5E: (anonymous namespace)::RALinScan::linearScan()
(RegAllocLinearScan.cpp:564)
by 0xA5BFC9: (anonymous
namespace)::RALinScan::runOnMachineFunction(llvm::MachineFunction&)
(RegAllocLinearScan.cpp:490)
by 0xCBB68C: llvm::FPPassManager::runOnFunction(llvm::Function&)
(PassManager.cpp:1443)
by 0xCBB78A: llvm::FPPassManager::runOnModule(llvm::Module&)
(PassManager.cpp:1463)
by 0xCBB216: llvm::MPPassManager::runOnModule(llvm::Module&)
(PassManager.cpp:1517)
by 0xCBB396: llvm::PassManagerImpl::run(llvm::Module&) (PassManager.cpp:1598)
by 0x51A6AF: main (llc.cpp:325)
...
--
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 llvm.org Wed Sep 1 08:52:26 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 10:52:26 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8049] [PATCH] Add support for mingw gcc 4.5.0
headers
In-Reply-To:
References:
Message-ID: <20100901155226.7B2B92A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8049
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2010-09-01 10:52:26 CDT ---
Thanks, applied in r112710.
Please just send patches to cfe-commits in the future.
Thanks again!
--
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 llvm.org Wed Sep 1 10:48:52 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 12:48:52 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8052] New: analyzer asserts with "Do not get the
object type of a CodeTextRegion" when analyzing DragonflyBSD
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8052
Summary: analyzer asserts with "Do not get the object type of a
CodeTextRegion" when analyzing DragonflyBSD
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: kremenek at apple.com
ReportedBy: kremenek at apple.com
CC: llvmbugs at cs.uiuc.edu
This was reported on cfe-dev:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-September/010727.html
Here is a delta-reduced test case:
$ cat reduced.c
typedef unsigned int __uint32_t;
typedef unsigned long vm_offset_t;
typedef __uint32_t pd_entry_t;
typedef unsigned char u_char;
typedef unsigned int u_int;
typedef unsigned long u_long;
extern int bootMP_size;
void bootMP(void);
static void
install_ap_tramp(u_int boot_addr)
{
int x;
int size = *(int *) ((u_long) & bootMP_size);
u_char *src = (u_char *) ((u_long) bootMP);
u_char *dst = (u_char *) boot_addr + ((vm_offset_t) ((((((((1 <<
12) / (sizeof(pd_entry_t))) - 1) - 1) - (260 - 2))) << 22) | ((0) << 12)));
for (x = 0;
x < size;
++x)
*dst++ = *src++;
}
$ clang --analyze reduced.c
Assertion failed: (0 && "Do not get the object type of a CodeTextRegion."),
function getValueType, file
/Users/kremenek/llvm/tools/clang/include/clang/Checker/PathSensitive/MemRegion.h,
line 382.
--
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 llvm.org Wed Sep 1 12:03:11 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 14:03:11 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8053] New: LLVM JIT code emitter fails to encode
the S bit in some instructions
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8053
Summary: LLVM JIT code emitter fails to encode the S bit in
some instructions
Product: new-bugs
Version: trunk
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sliao at google.com
CC: llvmbugs at cs.uiuc.edu
LLVM JIT code emitter fails to encode the S bit in some instructions. According
to ARM Architecture Reference Manual, in A8.6.212 SUB (immediate),
"If S is present, the instruction updates the flags. Otherwise, the flags are
not updated."
An isolated, cleaned test case will be provided soon.
--
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 llvm.org Wed Sep 1 12:30:03 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 14:30:03 -0500 (CDT)
Subject: [LLVMbugs] [Bug 5936] [LLVMPoly] Convert scalar evolution results
to linear expression
In-Reply-To:
References:
Message-ID: <20100901193003.5B3A82A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=5936
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #9 from Dan Gohman 2010-09-01 14:30:02 CDT ---
We can close this PR now.
--
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 llvm.org Wed Sep 1 13:00:08 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 15:00:08 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8054] New: clang drops volatile from struct on
assignment from call
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8054
Summary: clang drops volatile from struct on assignment from
call
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: gohman at apple.com
CC: llvmbugs at cs.uiuc.edu
On this C code:
struct T { int i; int j; int k; int l; int m; };
extern volatile struct T t;
struct T foo(void);
void bar(void) {
t = foo();
}
clang emits this:
call void @foo(%struct.T* sret @t)
The volatile qualifier has not been preserved.
--
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 llvm.org Wed Sep 1 13:36:09 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 15:36:09 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8050] crash in CastSizeChecker when pointee is an
incomplete type
In-Reply-To:
References:
Message-ID: <20100901203609.B6E272A6C12C@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8050
Ted Kremenek changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Ted Kremenek 2010-09-01 15:36:09 CDT ---
Fixed:
http://llvm.org/viewvc/llvm-project?view=rev&revision=112738
--
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 llvm.org Wed Sep 1 14:03:16 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 16:03:16 -0500 (CDT)
Subject: [LLVMbugs] [Bug 944] Unrolling loop creates register pressure
In-Reply-To:
References:
Message-ID: <20100901210316.272452A6C12C@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=944
Bill Wendling changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |wendling at apple.com
Resolution| |FIXED
--- Comment #3 from Bill Wendling 2010-09-01 16:03:15 CDT ---
This no longer appears to be a problem.
--
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 llvm.org Wed Sep 1 14:58:17 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 16:58:17 -0500 (CDT)
Subject: [LLVMbugs] [Bug 5373] loop-unswitch miscompilation
In-Reply-To:
References:
Message-ID: <20100901215817.36F0E2A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=5373
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #8 from Dan Gohman 2010-09-01 16:58:16 CDT ---
Loop unswitching was not reasoning about infinite loops properly. Fixed in
r112745.
--
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 llvm.org Wed Sep 1 15:13:01 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 17:13:01 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8042] loop unswitch fails to preserve lcssa
In-Reply-To:
References:
Message-ID: <20100901221301.D30152A6C12C@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8042
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Dan Gohman 2010-09-01 17:13:01 CDT ---
Apparently the attachment didn't get attached, and I no longer have the
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 llvm.org Wed Sep 1 15:49:57 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 17:49:57 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8055] New: using declaration not adding template
candidates?
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8055
Summary: using declaration not adding template candidates?
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
We think this program is valid:
struct Base {
template static void Foo() {}
static void Bar(int) {}
};
struct Derived : Base {
using Base::Foo;
template static void Foo() {}
};
void Test2() {
Derived::Foo<1>();
}
but clang gives the diagnostic:
b2944320.cc:12:3: error: no matching function for call to 'Foo'
Derived::Foo<1>();
^~~~~~~~~~~~~~~
b2944320.cc:8:31: note: candidate template ignored: invalid
explicitly-specified
argument for 1st template parameter
template static void Foo() {}
^
1 error 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 llvm.org Wed Sep 1 16:01:33 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 18:01:33 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8056] New: missing fixit to add parens to function
call
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8056
Summary: missing fixit to add parens to function call
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
For this code:
struct Foo {
int blah() { return 42; }
void foo(int x) {}
void bar() {
foo(blah);
}
};
the user deserves a fixit adding the missing () to call blah().
--
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 llvm.org Wed Sep 1 16:01:46 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 18:01:46 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8052] analyzer asserts when analyzed code does a
byte load from a function's address
In-Reply-To:
References:
Message-ID: <20100901230146.997262A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8052
Ted Kremenek changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Ted Kremenek 2010-09-01 18:01:46 CDT ---
Fixed:
http://llvm.org/viewvc/llvm-project?view=rev&revision=112761
--
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 llvm.org Wed Sep 1 16:29:20 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 18:29:20 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8015] False use of undefined value warning due to
not handling "array[symbolic value]" correctly
In-Reply-To:
References:
Message-ID: <20100901232920.C98742A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8015
Ted Kremenek changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Ted Kremenek 2010-09-01 18:29:20 CDT ---
(In reply to comment #2)
> Created an attachment (id=5423)
--> (http://llvm.org/bugs/attachment.cgi?id=5423) [details]
> Use UnknownVal for stack-based ElementRegions with non-constant indexes
>
I've gone ahead and applied this, since I think this is a good working base to
suppress the false positive. We then should improve on from there.
Patch applied here:
http://llvm.org/viewvc/llvm-project?view=rev&revision=112766
In the patch I included a test case showing how this approach *doesn't* do the
right thing:
+// FIXME: This is a false positive due to not reasoning about symbolic
+// array indices correctly. Discussion in PR 8015.
+void pr8015_D_FIXME() {
+ int number = pr8015_A();
+ const char *numbers[] = { "zero" };
+ if (number == 0) {
+ if (numbers[number] == numbers[0])
+ return;
+ int *p = 0;
+ *p = 0xDEADBEEF; // expected-warning{{Dereference of null pointer}}
+ }
+}
+
Here we actually flag a bogus null dereference warning. I'm going to file a
follow-up bug to track this one, and mark this as fixed since the false
positive is gone.
--
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 llvm.org Wed Sep 1 16:31:04 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 18:31:04 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8057] New: (follow-up PR 8015): false null
dereference because of inaccurate reasoning of perfectly constrained array
indices
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8057
Summary: (follow-up PR 8015): false null dereference because of
inaccurate reasoning of perfectly constrained array
indices
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: kremenek at apple.com
ReportedBy: kremenek at apple.com
CC: llvmbugs at cs.uiuc.edu
>From PR 8015:
+// FIXME: This is a false positive due to not reasoning about symbolic
+// array indices correctly. Discussion in PR 8015.
+void pr8015_D_FIXME() {
+ int number = pr8015_A();
+ const char *numbers[] = { "zero" };
+ if (number == 0) {
+ if (numbers[number] == numbers[0])
+ return;
+ int *p = 0;
+ *p = 0xDEADBEEF; // expected-warning{{Dereference of null pointer}}
+ }
+}
+
Here we flag a bogus null dereference because 'numbers[number]' resolves to
UnknownVal, and not the region for "zero".
--
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 llvm.org Wed Sep 1 17:39:40 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 19:39:40 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8058] New: clang permits invalid
&Base::ProtectedNonTemplateMemF
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8058
Summary: clang permits invalid &Base::ProtectedNonTemplateMemF
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=5441)
--> (http://llvm.org/bugs/attachment.cgi?id=5441)
testcase
The attached testcase is a cute example showing two invalid address-of
operations:
F = &Base::TmpF;
F = &Base::NonTmpF;
where both TmpF and NonTmpF are protected members, but TmpF is a template and
NonTmpF is not. Neither is static. They should both be rejected, but clang
accepts the &NonTmpF while correctly issuing an error on &TmpF. For amusement,
GCC does the opposite. Comeau correctly flags both as wrong.
A fixit to correct Base to Derived would be even better.
--
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 llvm.org Wed Sep 1 18:12:31 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 20:12:31 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7999] Warning about stack returns doesn't account
for reference type members
In-Reply-To:
References:
Message-ID: <20100902011231.C41542A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7999
Ted Kremenek changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Ted Kremenek 2010-09-01 20:12:31 CDT ---
Looks good to me.
Applied: r112792
--
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 llvm.org Wed Sep 1 19:28:32 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 21:28:32 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8059] New: Fails to build MC with -Werror
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8059
Summary: Fails to build MC with -Werror
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: oroppas at gmail.com
CC: llvmbugs at cs.uiuc.edu
[ 43%] Building CXX object
lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
cc1plus: warnings being treated as errors
/home/ryuta/devel/llvm/src/llvm/lib/MC/WinCOFFObjectWriter.cpp: In member
function ‘virtual void::WinCOFFObjectWriter::RecordRelocation(const
llvm::MCAssembler&, const llvm::MCAsmLayout&, const llvm::MCFragment*, const
llvm::MCFixup&, llvm::MCValue, uint64_t&)’:
/home/ryuta/devel/llvm/src/llvm/lib/MC/WinCOFFObjectWriter.cpp:609:3: error:
case value ‘131’ not in enumerated type ‘llvm::MCFixupKind’
/home/ryuta/devel/llvm/src/llvm/lib/MC/WinCOFFObjectWriter.cpp:610:3: error:
case value ‘132’ not in enumerated type ‘llvm::MCFixupKind’
make[2]: *** [lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o] Error 1
make[1]: *** [lib/MC/CMakeFiles/LLVMMC.dir/all] Error 2
make: *** [all] Error 2
Aborting...
Here's how I configured and built:
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_CXX_FLAGS:STRING="-O2 -march=native -pipe" \
-DCMAKE_C_FLAGS:STRING="-O2 -march=native -pipe" \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
-DLLVM_BUILD_TOOLS:BOOL=ON \
-DLLVM_ENABLE_THREADS:BOOL=ON \
-DLLVM_ENABLE_PEDANTIC:BOOL=ON \
-DLLVM_ENABLE_WARNINGS:BOOL=ON \
-DLLVM_ENABLE_WERROR:BOOL=ON \
-DLLVM_TARGETS_TO_BUILD:STRING="X86" \
../$_svnmod
--
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 llvm.org Wed Sep 1 21:20:15 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 1 Sep 2010 23:20:15 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8059] Fails to build MC with -Werror
In-Reply-To:
References:
Message-ID: <20100902042015.DAB9D2A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8059
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |LATER
--- Comment #1 from Chris Lattner 2010-09-01 23:20:15 CDT ---
Please send information about warnings to llvm-commits, along with suggested
fixes. Building with -Werror obviously won't work the compiler is producing
them :-)
--
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 llvm.org Thu Sep 2 05:51:08 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 07:51:08 -0500 (CDT)
Subject: [LLVMbugs] [Bug 4701] Definitions of id and Class ignored
In-Reply-To:
References:
Message-ID: <20100902125108.960012A6C12C@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=4701
David Chisnall changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from David Chisnall 2010-09-02 07:51:07 CDT ---
Fixed ages ago (sometime in the 2.6ish timeframe), but no one got around to
closing the bug.
--
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 llvm.org Thu Sep 2 05:56:17 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 07:56:17 -0500 (CDT)
Subject: [LLVMbugs] [Bug 6131] clang crashes on assignment of ObjC
@protocol() object to runtime structure
In-Reply-To:
References:
Message-ID: <20100902125617.4CFD22A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=6131
David Chisnall changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from David Chisnall 2010-09-02 07:56:16 CDT ---
Not sure when this was fixed, but this construct works now, raising a warning
that there is a missing cast.
I think that warnings that the results of @encode(), @protocol(), and
@selector() expressions are spurious, but this may be an implementation issue
(they're all constant with the GNU runtime, at least), rather than a language
issue.
--
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 llvm.org Thu Sep 2 06:24:10 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 08:24:10 -0500 (CDT)
Subject: [LLVMbugs] [Bug 1875] Found a case where llvm-g++ 2.1 (or TOT)
produces worse code than 2.0
In-Reply-To:
References:
Message-ID: <20100902132410.4D8852A6C12F@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=1875
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #11 from Duncan Sands 2010-09-02 08:24:09 CDT ---
The reporter can no longer reproduce the problem.
--
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 llvm.org Thu Sep 2 07:04:50 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 09:04:50 -0500 (CDT)
Subject: [LLVMbugs] [Bug 4869] clang x86-32 doesn't implement ABI on FreeBSD
In-Reply-To:
References:
Message-ID: <20100902140450.216802A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=4869
David Chisnall changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from David Chisnall 2010-09-02 09:04:49 CDT ---
Tentatively closing this. I think we've fixed them now. ABITest is full of
GNUisms, so doesn't work out of the box on FreeBSD, but tweaking it so that it
does at least run doesn't seem to give anything that looks like a failure
(although, impressively, it did cause sh to consume all of my RAM and swap
space before dying). Perhaps if it were not totally undocumented, it might be
more use...
I've not come across any issues with FreeBSD ABI compatibility mixing gcc and
clang code for quite a while, so I'm closing this unless someone can point to
some specific failures.
--
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 llvm.org Thu Sep 2 08:28:34 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 10:28:34 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8060] New: JumpThreading miscompilation on
whole-program SPEC CINT2000 v1.3 255.vortex
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8060
Summary: JumpThreading miscompilation on whole-program SPEC
CINT2000 v1.3 255.vortex
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: luked at cs.rochester.edu
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5443)
--> (http://llvm.org/bugs/attachment.cgi?id=5443)
the tooptimize half of the bugpoint reduction
I'm using the LTO/gold infrastructure with cvs binutils and llvm/llvm-gcc-4.2
from svn. I use -O4 -m32 to compile all of the object files into bitcode, and
then link with -use-gold-plugin. The resulting executable fails to work.
I can avoid the problem either by compiling bitvec.c with -O3 -m32 or
suppressing jump-threading during the link phase. I've done a bugpoint
reduction of the miscompilation.
I've done a bugpoint reduction using the standard LTO passes which also
pinpoints jump-threading as the problem.
$bugpoint -llc-safe -preverify -domtree -verify -internalize -ipsccp -globalopt
-constmerge -deadargelim -instcombine -basiccg -inline -prune-eh -globalopt
-globaldce -basiccg -argpromotion -instcombine -lazy-value-info -jump-threading
-domtree -domfrontier -scalarrepl -basiccg -functionattrs -globalsmodref-aa
-domtree -loops -loopsimplify -licm -memdep -gvn -memdep -memcpyopt -dse
-instcombine -lazy-value-info -jump-threading -simplifycfg -globaldce
-preverify -domtree -verify 255.vortex.bc -args lendian1.raw
-output=vortex1.out -enable-valgrind
Read input file : '255.vortex.bc'
*** All input ok
Running selected passes on program to test for crash: Success!
Initializing execution environment: Found gcc: /usr/bin/gcc
Running the code generator to test for a crash:
Generating reference output from raw program:
Reference output is: bugpoint.reference.out
*** Checking the code generator...
*** Output matches: Debugging miscompilation!
Checking to see if '' compiles correctly: yup.
Checking to see if '-preverify -domtree -verify -internalize -ipsccp -globalopt
-constmerge -deadargelim -instcombine -basiccg -inline -prune-eh -globalopt
-globaldce -basiccg -argpromotion -instcombine -lazy-value-info -jump-threading
-domtree -domfrontier -scalarrepl -basiccg -functionattrs -globalsmodref-aa
-domtree -loops -loopsimplify -licm -memdep -gvn -memdep -memcpyopt -dse
-instcombine -lazy-value-info -jump-threading -simplifycfg -globaldce
-preverify -domtree -verify' compiles correctly: nope.
Checking to see if '-scalarrepl -basiccg -functionattrs -globalsmodref-aa
-domtree -loops -loopsimplify -licm -memdep -gvn -memdep -memcpyopt -dse
-instcombine -lazy-value-info -jump-threading -simplifycfg -globaldce
-preverify -domtree -verify' compiles correctly: yup.
Checking to see if '-preverify -domtree -verify -internalize -ipsccp -globalopt
-constmerge -deadargelim -instcombine -basiccg -inline -prune-eh -globalopt
-globaldce -basiccg -argpromotion -instcombine -lazy-value-info -jump-threading
-domtree -domfrontier' compiles correctly: nope.
Checking to see if '-inline -prune-eh -globalopt -globaldce -basiccg
-argpromotion -instcombine -lazy-value-info -jump-threading -domtree
-domfrontier' compiles correctly: nope.
Checking to see if '-argpromotion -instcombine -lazy-value-info -jump-threading
-domtree -domfrontier' compiles correctly: yup.
Checking to see if '-inline -prune-eh -globalopt -globaldce -basiccg' compiles
correctly: yup.
Checking to see if '-argpromotion -instcombine -lazy-value-info -jump-threading
-domtree -domfrontier' passes compile correctly after the '-inline -prune-eh
-globalopt -globaldce -basiccg' passes: nope.
Checking to see if '-jump-threading -domtree -domfrontier' compiles correctly:
yup.
Checking to see if '-argpromotion -instcombine -lazy-value-info' compiles
correctly: yup.
Checking to see if '-jump-threading -domtree -domfrontier' passes compile
correctly after the '-argpromotion -instcombine -lazy-value-info' passes:
nope.
Checking to see if '-domtree -domfrontier' compiles correctly:
yup.
Checking to see if '-jump-threading' compiles correctly:
nope.
*** Found miscompiling pass: -jump-threading
I've attached to tooptimize half of the reduction. The SPEC input is 3.2 megs
(and presumably copyrighted by SPEC), and the tonotoptimize half of the
reduction is 1.1 megs (I'm also worried about the copyright here, given that
with tooptimize and tonotoptimize together you can generate the vortex binary
for my configuration).
Someone familiar with jump threading, and with access to the SPEC CINT2000 v1.3
source, could probably trace jump threading during LTO with bitvec.o (a small,
2 function object) to detect the bug more quickly than optimizing the 70k
tooptimize half alone.
--
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 llvm.org Thu Sep 2 09:31:00 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 11:31:00 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8061] New: xchgl/in/out instructions unknown to MC
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8061
Summary: xchgl/in/out instructions unknown to MC
Product: libraries
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
pes ~/mc-elf$ cat xchgl.s
xchgl 368(%rax),%ecx
outb 123, %al
inb %al, 123
pes ~/mc-elf$ llvm-mc xchgl.s
.section __TEXT,__text,regular,pure_instructions
xchgl.s:1:2: error: unrecognized instruction
xchgl 368(%rax),%ecx
^
xchgl.s:3:2: error: unrecognized instruction
outb 123, %al
^
xchgl.s:5:2: error: unrecognized instruction
inb %al, 123
^
MC does not know about these instructions although they all seem to be defined
in
X86GenAsmMatcher.inc
--
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 llvm.org Thu Sep 2 09:36:36 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 11:36:36 -0500 (CDT)
Subject: [LLVMbugs] [Bug 6633] Crash with break in statement expression in
for loop
In-Reply-To:
References:
Message-ID: <20100902163636.DD7C42A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=6633
Ted Kremenek changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Ted Kremenek 2010-09-02 11:36:36 CDT ---
This was fixed in r 104375.
--
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 llvm.org Thu Sep 2 09:55:24 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 11:55:24 -0500 (CDT)
Subject: [LLVMbugs] [Bug 6656] indirect goto: emitting reference to label
that is not emitted
In-Reply-To:
References:
Message-ID: <20100902165524.676AF2A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=6656
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Chris Lattner 2010-09-02 11:55:24 CDT ---
Yep, looks 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 llvm.org Thu Sep 2 11:21:20 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 13:21:20 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8062] New: 28 tests failing on Linux x86 64 bit
system (Ubuntu)
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8062
Summary: 28 tests failing on Linux x86 64 bit system (Ubuntu)
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: John.Thompson.JTSoftware at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5444)
--> (http://llvm.org/bugs/attachment.cgi?id=5444)
full test output
The full output from running make in the llvm/test directory on a Linux x86
64-bit system is attached.
This is the summary:
Failing Tests (28):
LLVM :: FrontendC++/2009-04-21-DtorNames-dbg.cpp
LLVM :: FrontendC++/2010-03-22-empty-baseclass.cpp
LLVM :: FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp
LLVM :: FrontendC++/2010-05-11-alwaysinlineinstantiation.cpp
LLVM :: FrontendC++/2010-06-22-BitfieldInit.cpp
LLVM :: FrontendC++/2010-06-22-ZeroBitfield.cpp
LLVM :: FrontendC++/thunk-linkonce-odr.cpp
LLVM :: FrontendC/2007-04-11-InlineStorageClassC89.c
LLVM :: FrontendC/2007-04-11-InlineStorageClassC99.c
LLVM :: FrontendC/2010-05-14-Optimized-VarType.c
LLVM :: FrontendC/2010-05-18-asmsched.c
LLVM :: FrontendC/2010-05-18-palignr.c
LLVM :: FrontendC/2010-05-26-AsmSideEffect.c
LLVM :: FrontendC/2010-06-11-SaveExpr.c
LLVM :: FrontendC/2010-06-17-asmcrash.c
LLVM :: FrontendC/2010-06-28-DbgLocalVar.c
LLVM :: FrontendC/2010-07-08-DeclDebugLineNo.c
LLVM :: FrontendC/2010-07-14-ref-off-end.c
LLVM :: FrontendC/2010-07-27-MinNoFoldConst.c
LLVM :: FrontendC/asm-reg-var-local.c
LLVM :: FrontendC/crash-invalid-array.c
LLVM :: FrontendC/inline-asm-function.c
LLVM :: FrontendC/pr2394.c
LLVM :: FrontendC/vla-1.c
LLVM :: FrontendC/vla-2.c
LLVM :: FrontendFortran/2008-11-03-OptionOverride.f90
LLVM :: FrontendFortran/2009-02-09-FloorDivExpr.f90
LLVM :: FrontendFortran/cpow.f90
Expected Passes : 5374
Expected Failures : 38
Unsupported Tests : 66
Unexpected Failures: 28
A couple of weeks ago, there were no unexpected failures.
--
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 llvm.org Thu Sep 2 13:31:47 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 15:31:47 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8064] New: In FixIt code,
valgrind reports "Conditional jump or move depends on uninitialised
value"
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8064
Summary: In FixIt code, valgrind reports "Conditional jump or
move depends on uninitialised value"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
Valgrind noticed a problem in clang when clang processes the existing clang
test
test/FixIt/fixit-errors.c
$ valgrind clang -cc1 -pedantic -verify -fixit -x c fixit-errors.c
==5038== Memcheck, a memory error detector
==5038== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==5038== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==5038== Command: clang -cc1 -pedantic -verify -fixit -x c fixit-errors.c
==5038==
2 errors generated.
==5038== Conditional jump or move depends on uninitialised value(s)
==5038== at 0x64EE21: clang::VerifyDiagnosticsClient::CheckDiagnostics()
(VerifyDiagnosticsClient.cpp:491)
==5038== by 0x650178: clang::VerifyDiagnosticsClient::HadErrors()
(VerifyDiagnosticsClient.cpp:63)
==5038== by 0x62A75B:
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(CompilerInstance.cpp:557)
==5038== by 0x60A7AB:
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(ExecuteCompilerInvocation.cpp:148)
==5038== by 0x6027ED: cc1_main(char const**, char const**, char const*,
void*) (cc1_main.cpp:160)
==5038== by 0x609294: main (driver.cpp:268)
...
--
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 llvm.org Thu Sep 2 14:19:04 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 16:19:04 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7833] [dagcombine] possible integer wrong code bug
on x64
In-Reply-To:
References:
Message-ID: <20100902211904.F36192A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7833
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Dan Gohman 2010-09-02 16:19:04 CDT ---
Fixed in r112861.
--
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 llvm.org Thu Sep 2 14:40:57 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 16:40:57 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8062] 28 tests failing on Linux x86 64 bit system
(Ubuntu)
In-Reply-To:
References:
Message-ID: <20100902214057.C3F132A6C12C@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8062
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Chris Lattner 2010-09-02 16:40:57 CDT ---
Your llvm-gcc probably needs to be updated. Note that these are all the new
tests since march.
--
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 llvm.org Thu Sep 2 15:19:30 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 17:19:30 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8041] licm miscompile - wrongly thinks value is
loop invariant
In-Reply-To:
References:
Message-ID: <20100902221930.E4CA22A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8041
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Chris Lattner 2010-09-02 17:19:30 CDT ---
Fixed in r112878, 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 llvm.org Thu Sep 2 15:41:42 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 17:41:42 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8065] New: false positive warning due to template
meta-programming
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8065
Summary: false positive warning due to template
meta-programming
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=5446)
--> (http://llvm.org/bugs/attachment.cgi?id=5446)
testcase
I'm getting the warning "conversion function converting ... to itself will
never be used" in a case where our class has a conversion function to template
parameter T which happens to be itself in this case but not in others. The
warning should be suppressed when that happens.
nlewycky at ducttape:~$ g++ -Wall -pedantic -fsyntax-only b2971306.cc
nlewycky at ducttape:~$ clang++ -Wall -pedantic -fsyntax-only b2971306.cc
b2971306.cc:12:3: warning: conversion function converting 'Container' to
itself will never be used
operator X(void) { return X(); }
^
b2971306.cc:15:16: note: in instantiation of template class 'Container'
requested here
Container test;
^
1 warning 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 llvm.org Thu Sep 2 17:19:43 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 19:19:43 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8060] JumpThreading miscompilation on whole-program
SPEC CINT2000 v1.3 255.vortex
In-Reply-To:
References:
Message-ID: <20100903001943.66E372A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8060
Owen Anderson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |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 llvm.org Thu Sep 2 20:30:44 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 22:30:44 -0500 (CDT)
Subject: [LLVMbugs] [Bug 6892] X86 test failures on Cygwin 1.7
In-Reply-To:
References:
Message-ID: <20100903033044.43D132A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=6892
NAKAMURA Takumi changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from NAKAMURA Takumi 2010-09-02 22:30:43 CDT ---
Fixed in r112801, r112802 and r112947, thank you.
I have confirmed on Cygwin-1.5 and Cygwin-1.7.
--
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 llvm.org Thu Sep 2 20:59:32 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 22:59:32 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8066] New: llvm+checking assert (S ==
TransformForPostIncUse(Denormalize, Result, User, OperandValToReplace, Loops,
SE, DT) && "SCEV normalization is not invertible!")
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8066
Summary: llvm+checking assert (S ==
TransformForPostIncUse(Denormalize, Result, User,
OperandValToReplace, Loops, SE, DT) && "SCEV
normalization is not invertible!")
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Loop Optimizer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: astrange at ithinksw.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5447)
--> (http://llvm.org/bugs/attachment.cgi?id=5447)
preprocessed/unreduced source
Using recent clang trunk with checking/assertions (whatever XDEBUG is) on
x86-64-apple-darwin10.
> /usr/local/llvm/bin/clang -O -S h264.i
In file included from libavcodec/h264.c:1:
libavcodec/h264.c:2333:23: warning: incompatible pointer types initializing
'int (*)[64]' with an expression of type 'int *'
...ref2frm)[64] = h->ref2frm[ h->slice_num&(16 -1) ][0] + (h->mb_mbaff ? 20 :
2)...
^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/h264.c:2410:23: warning: incompatible pointer types initializing
'int (*)[64]' with an expression of type 'int *'
...ref2frm)[64] = h->ref2frm[ h->slice_table[top_xy]&(16 -1) ][0] +
(h->mb_mbaff ? 20 : 2)...
^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/h264.c:2425:27: warning: incompatible pointer types initializing
'int (*)[64]' with an expression of type 'int *'
...ref2frm)[64] = h->ref2frm[ h->slice_table[left_xy[0]]&(16 -1) ][0] +
(h->mb_mbaff ? 20 : 2)...
^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assertion failed: (S == TransformForPostIncUse(Denormalize, Result, User,
OperandValToReplace, Loops, SE, DT) && "SCEV normalization is not
invertible!"), function TransformForPostIncUse, file
/Users/astrange/Projects/src/llvm/lib/Analysis/ScalarEvolutionNormalization.cpp,
line 115.
0 clang 0x00000001023e9092 PrintStackTrace(void*) + 34
1 clang 0x00000001023ec43a SignalHandler(int) + 3818
2 libSystem.B.dylib 0x00007fff803fc35a _sigtramp + 26
3 libSystem.B.dylib 0x0000000103e4a560 _sigtramp + 2208621088
4 clang 0x000000010002d802 __assert_rtn + 66
5 clang 0x000000010204b0f9
llvm::TransformForPostIncUse(llvm::TransformKind, llvm::SCEV const*,
llvm::Instruction*, llvm::Value*, llvm::SmallPtrSet&,
llvm::ScalarEvolution&, llvm::DominatorTree&) + 4521
6 clang 0x0000000101f0ae1e
llvm::IVUsers::AddUser(llvm::Instruction*, llvm::Value*) + 350
7 clang 0x0000000101f0e4c2
llvm::IVUsers::AddUsersIfInteresting(llvm::Instruction*) + 562
8 clang 0x0000000101f0fe8b llvm::IVUsers::runOnLoop(llvm::Loop*,
llvm::LPPassManager&) + 1179
9 clang 0x0000000101f708c7
llvm::LPPassManager::runOnFunction(llvm::Function&) + 6823
10 clang 0x00000001021fdb70
llvm::FPPassManager::runOnFunction(llvm::Function&) + 640
11 clang 0x00000001021fdd62
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 146
12 clang 0x00000001021fe0fc
llvm::FunctionPassManager::run(llvm::Function&) + 236
13 clang 0x00000001002ca145
clang::EmitBackendOutput(clang::Diagnostic&, clang::CodeGenOptions const&,
clang::TargetOptions const&, llvm::Module*, clang::BackendAction,
llvm::raw_ostream*) + 1381
14 clang 0x000000010043e8be (anonymous
namespace)::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 286
15 clang 0x000000010049b1fe clang::ParseAST(clang::Sema&, bool) +
286
16 clang 0x000000010043f4cc clang::CodeGenAction::ExecuteAction() +
60
17 clang 0x00000001000bbcf1
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 3473
18 clang 0x000000010004744a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2762
19 clang 0x000000010002fb63 cc1_main(char const**, char const**,
char const*, void*) + 627
20 clang 0x000000010003befe main + 6686
21 clang 0x000000010002dbd8 start + 52
22 clang 0x0000000000000022 start + 4294780030
Stack dump:
0. Program arguments: /usr/local/llvm/bin/clang -cc1 -triple
x86_64-apple-darwin10.0.0 -S -disable-free -main-file-name h264.i -pic-level 1
-mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 97.14 -resource-dir /usr/local/llvm/lib/clang/2.8 -O2
-ferror-limit 19 -fmessage-length 79 -stack-protector 1 -fblocks
-fdiagnostics-show-option -fcolor-diagnostics -o h264.s -x cpp-output h264.i
1. parser at end of file
2. Code generation
3. Running pass 'Loop Pass Manager' on function '@decode_frame'
4. Running pass 'Induction Variable Users' on basic block '%for.cond421'
clang: error: clang frontend command failed due to signal 4 (use -v to see
invocation)
--
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 llvm.org Thu Sep 2 21:42:05 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 23:42:05 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8067] New: Assertion
`!cast(Use)->isVolatile() && Use->getOperand(0) != ASIV && "AST
broken"' failed.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8067
Summary: Assertion `!cast(Use)->isVolatile() &&
Use->getOperand(0) != ASIV && "AST broken"' failed.
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu
[regehr at gamow tmp424]$ clang -v
clang version 2.8 (trunk 112720)
Target: x86_64-unknown-linux-gnu
Thread model: posix
[regehr at gamow tmp424]$ cat small.c
typedef int int32_t;
typedef unsigned char uint8_t;
int32_t g_8;
uint161 (void)
{
int32_t *l_9[5][8];
int i, j;
l_9[i][j] = 0;
uint8_t l_15;
for (0; 1; g_8 += 1)
l_9[g_8][l_15] = &g_8;
}
[regehr at gamow tmp424]$ clang -O1 small.c
small.c:4:1: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
uint161 (void)
^
small.c:10:8: warning: expression result unused [-Wunused-value]
for (0; 1; g_8 += 1)
^
clang: LICM.cpp:701: void::LICM::PromoteAliasSet(llvm::AliasSet&):
Assertion `!cast(Use)->isVolatile() && Use->getOperand(0) != ASIV &&
"AST broken"' failed.
0 clang 0x000000000166ebff
1 clang 0x0000000001670e72
2 libpthread.so.0 0x00007f59adbdb190
3 libc.so.6 0x00007f59acee04b5 gsignal + 53
4 libc.so.6 0x00007f59acee3f50 abort + 384
5 libc.so.6 0x00007f59aced9481 __assert_fail + 241
6 clang 0x00000000013a6bad
7 clang 0x00000000013a7bab
8 clang 0x00000000014ca2c4
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1060
9 clang 0x00000000015b4aed
llvm::FPPassManager::runOnFunction(llvm::Function&) + 557
10 clang 0x000000000149810b
11 clang 0x0000000001498865
12 clang 0x00000000015b4684
llvm::MPPassManager::runOnModule(llvm::Module&) + 500
13 clang 0x00000000015b47f7 llvm::PassManagerImpl::run(llvm::Module&)
+ 167
14 clang 0x00000000007c7917
clang::EmitBackendOutput(clang::Diagnostic&, clang::CodeGenOptions const&,
clang::TargetOptions const&, llvm::Module*, clang::BackendAction,
llvm::raw_ostream*) + 1623
15 clang 0x00000000007c3a2b
16 clang 0x00000000008e0593 clang::ParseAST(clang::Sema&, bool) + 291
17 clang 0x00000000007c4a14 clang::CodeGenAction::ExecuteAction() +
68
18 clang 0x00000000006d2ebd
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 349
19 clang 0x00000000006b152c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1292
20 clang 0x00000000006a9363 cc1_main(char const**, char const**, char
const*, void*) + 467
21 clang 0x00000000006b0125 main + 4133
22 libc.so.6 0x00007f59acecbabd __libc_start_main + 253
23 clang 0x00000000006a7ce9
Stack dump:
0. Program arguments:
/uusoc/exports/scratch/regehr/z/compiler-install/llvm-gcc-r112720-install/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name small.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -target-linker-version 2.20 -resource-dir
/uusoc/exports/scratch/regehr/z/compiler-install/llvm-gcc-r112720-install/lib/clang/2.8
-O1 -ferror-limit 19 -fmessage-length 95 -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-38CgRv.s -x c small.c
1. parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module 'small.c'.
4. Running pass 'Loop Pass Manager' on function '@uint161'
5. Running pass 'Loop Invariant Code Motion' on basic block '%for.body'
clang: error: clang frontend command failed due to signal 6 (use -v to see
invocation)
--
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 llvm.org Thu Sep 2 21:46:31 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 2 Sep 2010 23:46:31 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8068] New: Assertion `use_empty() && "Uses remain
when a value is destroyed!"' failed.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8068
Summary: Assertion `use_empty() && "Uses remain when a value is
destroyed!"' failed.
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu, chenyang at cs.utah.edu
[regehr at gamow tmp425]$ clang -v
clang version 2.8 (trunk 112720)
Target: x86_64-unknown-linux-gnu
Thread model: posix
[regehr at gamow tmp425]$ cat small.c
typedef short int int16_t;
typedef int int32_t;
typedef unsigned char uint8_t;
static int16_t
safe_add_func_int32_t_s_s (int32_t si1, int16_t si2)
{
return si1 > 0 && si2 > 0 && si1 > -si2 || si1 < 0 && si2 < 0
&& si1 < -si2 ? : si1 + si2;
}
uint8_t g_12;
int16_t *g_74[4][4][5] = {
};
int16_t **g_76[6] = {
&g_74[0][3][3], &g_74[0][3][3], &g_74[0][3][3], &g_74[0][3][3],
&g_74[0][3][3], &g_74[0][3][3]
};
int16_t ***volatile g_75 = &g_76[0];
int16_t
func_40 (int32_t * const p_41)
{
}
int326 (int32_t *** p_107, int16_t *** p_108, int16_t p_109, int16_t p_110)
{
for (g_12 = 1; g_12; g_12 = safe_add_func_int32_t_s_s (g_12, 0))
{
for (g_12 = 0;; 1)
break;
if (func_40 (**g_75))
{
}
}
}
[regehr at gamow tmp425]$ clang -O2 -c small.c -w
While deleting: i8 %tmp6
Use still stuck around after Def is destroyed: store i8 %tmp6, i8* @g_12
clang: Value.cpp:75: virtual llvm::Value::~Value(): Assertion `use_empty() &&
"Uses remain when a value is destroyed!"' failed.
0 clang 0x000000000166ebff
1 clang 0x0000000001670e72
2 libpthread.so.0 0x00007fc545521190
3 libc.so.6 0x00007fc5448264b5 gsignal + 53
4 libc.so.6 0x00007fc544829f50 abort + 384
5 libc.so.6 0x00007fc54481f481 __assert_fail + 241
6 clang 0x00000000015cbb83 llvm::Value::~Value() + 995
7 clang 0x0000000001596387 llvm::LoadInst::~LoadInst() + 23
8 clang 0x00000000013a731c
9 clang 0x00000000013a7bab
10 clang 0x00000000014ca2c4
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1060
11 clang 0x00000000015b4aed
llvm::FPPassManager::runOnFunction(llvm::Function&) + 557
12 clang 0x000000000149810b
13 clang 0x0000000001498865
14 clang 0x00000000015b4684
llvm::MPPassManager::runOnModule(llvm::Module&) + 500
15 clang 0x00000000015b47f7 llvm::PassManagerImpl::run(llvm::Module&)
+ 167
16 clang 0x00000000007c7917
clang::EmitBackendOutput(clang::Diagnostic&, clang::CodeGenOptions const&,
clang::TargetOptions const&, llvm::Module*, clang::BackendAction,
llvm::raw_ostream*) + 1623
17 clang 0x00000000007c3a2b
18 clang 0x00000000008e0593 clang::ParseAST(clang::Sema&, bool) + 291
19 clang 0x00000000007c4a14 clang::CodeGenAction::ExecuteAction() +
68
20 clang 0x00000000006d2ebd
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 349
21 clang 0x00000000006b152c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1292
22 clang 0x00000000006a9363 cc1_main(char const**, char const**, char
const*, void*) + 467
23 clang 0x00000000006b0125 main + 4133
24 libc.so.6 0x00007fc544811abd __libc_start_main + 253
25 clang 0x00000000006a7ce9
Stack dump:
0. Program arguments:
/uusoc/exports/scratch/regehr/z/compiler-install/llvm-gcc-r112720-install/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name small.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -target-linker-version 2.20 -resource-dir
/uusoc/exports/scratch/regehr/z/compiler-install/llvm-gcc-r112720-install/lib/clang/2.8
-O2 -w -ferror-limit 19 -fmessage-length 95 -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-L6xohy.s -x c small.c
1. parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module 'small.c'.
4. Running pass 'Loop Pass Manager' on function '@int326'
5. Running pass 'Loop Invariant Code Motion' on basic block '%for.body'
clang: error: clang frontend command failed due to signal 6 (use -v to see
invocation)
[regehr at gamow tmp425]$
--
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 llvm.org Thu Sep 2 22:02:17 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 00:02:17 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8069] New: llvm+checking never finishes compiling
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8069
Summary: llvm+checking never finishes compiling
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: astrange at ithinksw.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5448)
--> (http://llvm.org/bugs/attachment.cgi?id=5448)
preprocessed source
Attached file didn't stop compiling after 20 minutes with x86-64-apple-darwin10
+ llvm/clang trunk with checking enabled and:
> /usr/local/llvm/bin/clang -O3 -Xclang -ftime-report -c fft.i
Seems to be caused by the inliner causing the size of fft65536() to explode.
llvm::SmallPtrSetImpl::FindBucketFor () at
/Users/astrange/Projects/src/llvm/lib/Support/SmallPtrSet.cpp:122
122 Bucket = (Bucket + ProbeAmt++) & (ArraySize-1);
(gdb) bt
#0 llvm::SmallPtrSetImpl::FindBucketFor () at
/Users/astrange/Projects/src/llvm/lib/Support/SmallPtrSet.cpp:122
#1 0x000000010235e220 in llvm::SmallPtrSetImpl::insert_imp
(this=0x7fff5fbf8a00, Ptr=0x104376010) at
/Users/astrange/Projects/src/llvm/lib/Support/SmallPtrSet.cpp:61
#2 0x00000001015653cb in llvm::SmallPtrSet::erase ()
at /Users/astrange/Projects/src/llvm/include/llvm/ADT/SmallPtrSet.h:6457
#3 0x00000001015653cb in checkForCyclesHelper (N=0x1044f6010,
Visited=@0x7fff5fbf8b30, Checked=@0x7fff5fbf8a00) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:61
…
#3570 0x00000001015653b8 in checkForCyclesHelper (N=0x104664a10,
Visited=@0x7fff5fbf8b30, Checked=@0x7fff5fbf8a00) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:61
#3571 0x00000001015653b8 in checkForCyclesHelper (N=0x104664b10,
Visited=@0x7fff5fbf8b30, Checked=@0x7fff5fbf8a00) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:61
#3572 0x00000001015653b8 in checkForCyclesHelper (N=0x104664c10,
Visited=@0x7fff5fbf8b30, Checked=@0x7fff5fbf8a00) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:61
#3573 0x00000001015653b8 in checkForCyclesHelper (N=0x104664d10,
Visited=@0x7fff5fbf8b30, Checked=@0x7fff5fbf8a00) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:61
#3574 0x0000000101565501 in ~SmallPtrSet [inlined] () at
/Users/astrange/Projects/src/llvm/include/llvm/ADT/SmallPtrSet.h:6467
#3575 0x0000000101565501 in llvm::checkForCycles (N=0x104664d10) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:61
#3576 0x0000000100ef4d88 in llvm::SelectionDAG::setRoot (this=0x103ec7f20,
N={Node = 0x104664d10, ResNo = 0}) at SelectionDAG.h:61
#3577 0x00000001015df94f in llvm::SelectionDAGBuilder::LowerCallTo
(this=0x103ec8930, CS=,
Callee={Node = 0x1041ba710, ResNo = 0}, isTailCall=false, LandingPad=0x0) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:61
#3578 0x00000001015eee4a in llvm::SelectionDAGBuilder::visitCall
(this=0x103ec8930, I=@0x103e43232) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:61
#3579 0x00000001015d241d in llvm::SelectionDAGBuilder::visit (this=0x103ec8930,
Opcode=, I=@0x103e43230)
at Instruction.def:61
#3580 0x0000000101606f83 in llvm::SelectionDAGBuilder::visit (this=0x103ec8930,
I=@0x103e43230) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:61
#3581 0x0000000101658788 in
llvm::ilist_nextprev_traits::getNext () at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:356
#3582 llvm::ilist_node::getNext () at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:217
#3583 llvm::ilist_iterator::operator++ () at
/Users/astrange/Projects/src/llvm/include/llvm/ADT/ilist_node.h:58
#3584 0x0000000101658788 in llvm::SelectionDAGISel::SelectBasicBlock
(this=0x103ec7a20, Begin=,
End={>
= {}, NodePtr = 0x103e31ad0}, HadTailCall=@0x7fff5fbf959e) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:61
#3585 0x0000000101661690 in llvm::SelectionDAGISel::SelectAllBasicBlocks
(this=0x103ec7a20, Fn=) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:61
#3586 0x0000000101661da4 in llvm::SelectionDAGISel::runOnMachineFunction
(this=0x103ec7a20, mf=@0x104a49d70) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:61
#3587 0x0000000101926ec3 in llvm::MachineFunctionPass::runOnFunction
(this=0x103ec7a20, F=) at
/Users/astrange/Projects/src/llvm/lib/CodeGen/MachineFunctionPass.cpp:61
#3588 0x00000001021fdae4 in llvm::FPPassManager::runOnFunction
(this=0x103ebf440, F=@0x103e31ee0) at
/Users/astrange/Projects/src/llvm/lib/VMCore/PassManager.cpp:61
#3589 0x00000001021fdd62 in llvm::FunctionPassManagerImpl::run
(this=0x103ebf100, F=@0x103e31ee0) at
/Users/astrange/Projects/src/llvm/lib/VMCore/PassManager.cpp:61
#3590 0x00000001021fe0fc in llvm::FunctionPassManager::run (this=0x103ec02e0,
F=@0x103e31ee0) at
/Users/astrange/Projects/src/llvm/lib/VMCore/PassManager.cpp:61
#3591 0x00000001002ca145 in clang::EmitBackendOutput (Diags=, CGOpts=, TOpts=,
M=, Action=, OS=) at
/Users/astrange/Projects/src/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp:61
#3592 0x000000010043e8be in (anonymous
namespace)::BackendConsumer::HandleTranslationUnit (this=0x103e17840, C=) at
/Users/astrange/Projects/src/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp:61
#3593 0x000000010049b1fe in clang::ParseAST (S=@0x10402d200, PrintStats=false)
at /Users/astrange/Projects/src/llvm/tools/clang/lib/Parse/ParseAST.cpp:61
#3594 0x000000010043f4cc in clang::CodeGenAction::ExecuteAction
(this=0x103e12680) at
/Users/astrange/Projects/src/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp:61
#3595 0x00000001000fb5cf in ~TimeRegion [inlined] () at
/Users/astrange/Projects/src/llvm/include/llvm/Support/Timer.h:182
#3596 0x00000001000fb5cf in clang::FrontendAction::Execute (this=0x103e12680)
at
/Users/astrange/Projects/src/llvm/tools/clang/lib/Frontend/FrontendAction.cpp:61
#3597 0x00000001000bbcf1 in clang::CompilerInstance::ExecuteAction
(this=0x103e112b0, Act=@0x103e12680) at
/Users/astrange/Projects/src/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp:61
#3598 0x000000010004744a in clang::ExecuteCompilerInvocation
(Clang=0x103e112b0) at
/Users/astrange/Projects/src/llvm/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:61
#3599 0x000000010002fb63 in cc1_main (ArgBegin=0x7fff5fbfd608, ArgEnd=0x21,
Argv0=0x103e10688 "/usr/local/llvm/bin/clang", MainAddr=0x100036710) at
/Users/astrange/Projects/src/llvm/tools/clang/tools/driver/cc1_main.cpp:61
#3600 0x000000010003befe in main (argc_=35, argv_=0x7fff5fbfe8f0) at
/Users/astrange/Projects/src/llvm/tools/clang/tools/driver/driver.cpp:61
--
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 llvm.org Fri Sep 3 00:03:14 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 02:03:14 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8070] New: shellinabox does not compile under
scan-build
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8070
Summary: shellinabox does not compile under scan-build
Product: clang
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: kremenek at apple.com
ReportedBy: tcare at apple.com
CC: llvmbugs at cs.uiuc.edu, tcare at apple.com
The open source project Shell in a Box compiles successfully on Linux, but
fails using the same commands under scan-build. The build fails regardless of
compiler.
With scan-build:
In file included from httpconnection.c:50:
/usr/include/math.h:261:1: warning: this is the location of the previous
definition
httpconnection.c:212: error: conflicting types for ‘strcasestr’
/usr/include/string.h:371: note: previous declaration of ‘strcasestr’ was here
make[2]: *** [httpconnection.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
--
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 llvm.org Fri Sep 3 03:41:47 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 05:41:47 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8071] New: Lookup of dependent function name
declared in instantiation context fails
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8071
Summary: Lookup of dependent function name declared in
instantiation context fails
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: hans at chromium.org
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
The following code fails to compile with Clang built from trunk r112953:
namespace ns {
template
void function_template(const T &val) {
foo(val);
}
}
void foo(int x) { }
void test() {
ns::function_template(42);
}
clang++ -c /tmp/a.cc
/tmp/a.cc:4:5: error: use of undeclared identifier 'foo'
foo(val);
^
/tmp/a.cc:11:3: note: in instantiation of function template specialization
'ns::function_template' requested here
ns::function_template(42);
^
1 error generated.
This compiles with GCC. I'm not a standards expert, but since foo is a
type-dependent name, shouldn't it be looked up in the context of the template
instantiation, or something to that effect?
--
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 llvm.org Fri Sep 3 03:55:20 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 05:55:20 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8071] Lookup of dependent function name declared in
instantiation context fails
In-Reply-To:
References:
Message-ID: <20100903105520.9D48D2A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8071
hans at chromium.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from hans at chromium.org 2010-09-03 05:55:20 CDT ---
Sorry, just found http://clang.llvm.org/compatibility.html#dep_lookup
Marking invalid.
--
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 llvm.org Fri Sep 3 08:15:19 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 10:15:19 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7234] linking fails when compiling with -O4
In-Reply-To:
References:
Message-ID: <20100903151519.E49352A6C130@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7234
Toralf Niebuhr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #7 from Toralf Niebuhr 2010-09-03 10:15:19 CDT ---
This is an ld64 bug filed under apple bug ID: # 8212744
--
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 llvm.org Fri Sep 3 08:17:11 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 10:17:11 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8072] New: clang passes aliasing storage to sret
argument on x86-64
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8072
Summary: clang passes aliasing storage to sret argument on
x86-64
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: gohman at apple.com
CC: llvmbugs at cs.uiuc.edu
As discussed in PR6525, the x86-64 ABI now explicitly requires sret arguments
to point to non-aliased memory. GCC and llvm-gcc do this, but clang does not.
Here is a small C testcase which demonstrates the problem:
struct A { long i0; long i1; long i2; };
extern struct A global;
struct A call(struct A *p);
void foo(void) {
global = call(&global);
}
Clang emits this LLVM IR:
tail call void @call(%struct.A* sret @global, %struct.A* @global) nounwind
The sret argument here is clearly aliased.
--
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 llvm.org Fri Sep 3 09:25:14 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 11:25:14 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7268] Convoluted code-generation bug leading to
segfault
In-Reply-To:
References:
Message-ID: <20100903162514.6EEF72A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7268
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |gohman at apple.com
Resolution| |FIXED
--- Comment #1 from Dan Gohman 2010-09-03 11:25:13 CDT ---
I see the crash on x86-64 Lucid with r105219 but not ToT. Please re-open if
this continues to be a problem.
--
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 llvm.org Fri Sep 3 09:47:28 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 11:47:28 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8031] clang include path on Linux is not found
In-Reply-To:
References:
Message-ID: <20100903164728.D57DE2A6C130@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8031
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2010-09-03 11:47:28 CDT ---
Patch applied in r112970, 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 llvm.org Fri Sep 3 09:55:42 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 11:55:42 -0500 (CDT)
Subject: [LLVMbugs] [Bug 2581] jump threading: Useless select not removed
In-Reply-To:
References:
Message-ID: <20100903165542.D51FB2A6C130@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=2581
Owen Anderson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #23 from Owen Anderson 2010-09-03 11:55:41 CDT ---
Fixed by CorrelatedValuePropagation.
--
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 llvm.org Fri Sep 3 09:58:03 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 11:58:03 -0500 (CDT)
Subject: [LLVMbugs] [Bug 4420] Missed const propagation from condition of
branch to phi node at landing
In-Reply-To:
References:
Message-ID: <20100903165803.2FE592A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=4420
Owen Anderson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |resistor at mac.com
Resolution| |FIXED
--- Comment #1 from Owen Anderson 2010-09-03 11:58:02 CDT ---
Fixed by CorrelatedValuePropagation.
--
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 llvm.org Fri Sep 3 09:59:10 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 11:59:10 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8073] New: clang segfault with certain pointer
declaration.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8073
Summary: clang segfault with certain pointer declaration.
Product: clang
Version: 2.7
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nbowler at draconx.ca
CC: llvmbugs at cs.uiuc.edu
Compiling the following program causes clang to instantly segfault:
int main(void)
{
static void *x = &x;
return 0;
}
Spewing the following to the console:
0 clang 0x0000000001071b3f
1 clang 0x000000000107218c
2 libpthread.so.0 0x00007f6c70508010
3 clang 0x0000000000f7cfeb
4 clang 0x0000000000f7d31f
5 clang 0x0000000000cf8144
6 clang 0x0000000000cf1f2f
7 clang 0x00000000010011e8
8 clang 0x000000000100125a
9 clang 0x000000000041b252
10 clang 0x00000000005e8424
11 clang 0x000000000041e257
12 clang 0x000000000041174a
13 clang 0x0000000000414a33 main + 1731
14 libc.so.6 0x00007f6c6f813bbd __libc_start_main + 253
15 clang 0x000000000040fc79
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -S
-disable-free -disable-llvm-verifier -main-file-name test.c -mrelocation-model
static -mdisable-fp-elim -mconstructor-aliases -munwind-tables -target-cpu
x86-64 -resource-dir /usr/lib/clang/1.1 -fmessage-length 80 -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-Mmqfg7.s -x c test.c
1. parser at end of file
2. Code generation
clang: error: compiler command failed due to signal 11 (use -v to see
invocation)
Moving the declaration of x to file scope or removing the 'static'
storage-class specifier allows the program to compile successfully.
--
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 llvm.org Fri Sep 3 10:00:10 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 12:00:10 -0500 (CDT)
Subject: [LLVMbugs] [Bug 4413] Missed optimization in select on correlated
phi nodes
In-Reply-To:
References:
Message-ID: <20100903170010.96DD12A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=4413
Owen Anderson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |resistor at mac.com
Resolution| |FIXED
--- Comment #1 from Owen Anderson 2010-09-03 12:00:10 CDT ---
Fixed with CorrelatedValuePropagation.
--
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 llvm.org Fri Sep 3 10:17:53 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 12:17:53 -0500 (CDT)
Subject: [LLVMbugs] [Bug 2259] LLVM installs tblgen man page
In-Reply-To:
References:
Message-ID: <20100903171754.030FD2A6C12C@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=2259
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Dan Gohman 2010-09-03 12:17:53 CDT ---
LLVM now installs a tblgen command.
--
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 llvm.org Fri Sep 3 11:37:45 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 13:37:45 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8044] clang miscompiles inline asm (uses ecx for
two different things)
In-Reply-To:
References:
Message-ID: <20100903183745.D50162A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8044
Jakob Stoklund Olesen changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Jakob Stoklund Olesen 2010-09-03 13:37:45 CDT ---
Fixed in r112988.
--
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 llvm.org Fri Sep 3 11:59:21 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 13:59:21 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8073] clang segfault with certain pointer
declaration.
In-Reply-To:
References:
Message-ID: <20100903185921.2A6652A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8073
John McCall changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from John McCall 2010-09-03 13:59:20 CDT ---
Fixed in r112992.
--
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 llvm.org Fri Sep 3 12:09:18 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 14:09:18 -0500 (CDT)
Subject: [LLVMbugs] [Bug 4855] Missed optimization on pointer known equal to
a constant global
In-Reply-To:
References:
Message-ID: <20100903190918.04FEB2A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=4855
Owen Anderson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |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 llvm.org Fri Sep 3 12:58:19 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 14:58:19 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8074] New: Attr.td derived sources not rebuilt
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8074
Summary: Attr.td derived sources not rebuilt
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: holm at liacs.nl
CC: llvmbugs at cs.uiuc.edu
When using the CMake generated makefiles (and also VS 2008 projects) to build
clang, the derived sources from Attr.td (AttrImpl.inc and Attrs.inc (plus maybe
more)) are not rebuild when Attr.td changes.
This is obviously not desirable.
--
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 llvm.org Fri Sep 3 13:20:10 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 15:20:10 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8075] New: False positive with -Wuninitialized when
accessing *static* class members
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8075
Summary: False positive with -Wuninitialized when accessing
*static* class members
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Keywords: quality-of-implementation
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chandlerc at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
% cat t4.cc
struct S1 {
enum { FOO = 42 };
static const int bar = 42;
static int baz();
S1(int);
};
const int S1::bar;
struct S2 {
S1 s1;
S2() : s1(s1.FOO) {}
};
struct S3 {
S1 s1;
S3() : s1(s1.bar) {}
};
struct S4 {
S1 s1;
S4() : s1(s1.baz()) {}
};
% ./bin/clang -fsyntax-only -Wall t4.cc
t4.cc:12:13: warning: field is uninitialized when used here [-Wuninitialized]
S2() : s1(s1.FOO) {}
^
t4.cc:17:13: warning: field is uninitialized when used here [-Wuninitialized]
S3() : s1(s1.bar) {}
^
2 warnings 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 llvm.org Fri Sep 3 13:30:12 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 15:30:12 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8076] New: clang segfault with variably-modified
function parameters.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8076
Summary: clang segfault with variably-modified function
parameters.
Product: clang
Version: 2.7
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nbowler at draconx.ca
CC: llvmbugs at cs.uiuc.edu
The following C source causes clang to segfault:
void foo(void)
{
void bar(int, char (*a)[*]);
bar(0, 0);
}
Spewing the following to the console:
0 clang 0x0000000001071b3f
1 clang 0x000000000107218c
2 libpthread.so.0 0x00007fd9399e4010
3 clang 0x000000000057389b
4 clang 0x0000000000575cb9
5 clang 0x00000000005d526b
6 clang 0x00000000005d4f81
7 clang 0x00000000005759c2
8 clang 0x0000000000575cb9
9 clang 0x000000000054ebe7
10 clang 0x000000000054eecf
11 clang 0x00000000005211fc
12 clang 0x000000000054f4c3
13 clang 0x000000000054f724
14 clang 0x000000000056eca3
15 clang 0x000000000057532f
16 clang 0x0000000000575cb9
17 clang 0x000000000054ebe7
18 clang 0x00000000005b69da
19 clang 0x00000000005b82c0
20 clang 0x00000000005b6936
21 clang 0x00000000005b6969
22 clang 0x00000000005d88ab
23 clang 0x0000000000505231
24 clang 0x0000000000505cb3
25 clang 0x0000000000505e3c
26 clang 0x0000000000505f5b
27 clang 0x00000000004fe141
28 clang 0x00000000004191d4
29 clang 0x00000000005e83b5
30 clang 0x000000000041e257
31 clang 0x000000000041174a
32 clang 0x0000000000414a33 main + 1731
33 libc.so.6 0x00007fd938cefbbd __libc_start_main + 253
34 clang 0x000000000040fc79
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -S
-disable-free -disable-llvm-verifier -main-file-name test.c -mrelocation-model
static -mdisable-fp-elim -mconstructor-aliases -munwind-tables -target-cpu
x86-64 -resource-dir /usr/lib/clang/1.1 -fmessage-length 80 -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-yM4W3J.s -x c test.c
1. parser at end of file
2. test.c:1:6: LLVM IR generation of declaration 'foo'
3. test.c:1:6: Generating code for declaration 'foo'
4. test.c:2:1: LLVM IR generation of compound statement ('{}')
clang: error: compiler command failed due to signal 11 (use -v to see
invocation)
--
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 llvm.org Fri Sep 3 13:57:27 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 15:57:27 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8077] New: Support anonymous and local type
template arguments
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8077
Summary: Support anonymous and local type template arguments
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chandlerc at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=5450)
--> (http://llvm.org/bugs/attachment.cgi?id=5450)
proposed patch
This is enabled fully in C++0x mode, and as an extension (with appropriate
warnings) in C++98. I've tried to test both the sema side of this as well as
the codegen. Please let me know if the codegen is correct, and the way I'm
testing is correct.
--
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 llvm.org Fri Sep 3 14:13:06 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 16:13:06 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8077] Support anonymous and local type template
arguments
In-Reply-To:
References:
Message-ID: <20100903211306.F3CE92A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8077
Chandler Carruth changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chandler Carruth 2010-09-03 16:13:06 CDT ---
And now actually marked as 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 llvm.org Fri Sep 3 14:54:40 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 16:54:40 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7402] Incorrect "initializing multiple members"
error, which lacks a SourceLocation
In-Reply-To:
References:
Message-ID: <20100903215440.62A3C2A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7402
Chandler Carruth changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Chandler Carruth 2010-09-03 16:54:39 CDT ---
Fixed again in r113019.
--
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 llvm.org Fri Sep 3 15:47:39 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 17:47:39 -0500 (CDT)
Subject: [LLVMbugs] [Bug 1757] Missed optimization: any number greater than
two is not equal to two
In-Reply-To:
References:
Message-ID: <20100903224739.621382A6C12C@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=1757
Owen Anderson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
CC| |resistor at mac.com
Resolution| |FIXED
--- Comment #6 from Owen Anderson 2010-09-03 17:47:38 CDT ---
Fixed in r113025.
--
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 llvm.org Fri Sep 3 16:47:05 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 18:47:05 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8066] llvm+checking assert (S ==
TransformForPostIncUse(Denormalize, Result, User, OperandValToReplace, Loops,
SE, DT) && "SCEV normalization is not invertible!")
In-Reply-To:
References:
Message-ID: <20100903234705.D85122A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8066
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Dan Gohman 2010-09-03 18:47:05 CDT ---
Fixed in r113021.
--
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 llvm.org Fri Sep 3 17:12:44 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 19:12:44 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8068] Assertion `use_empty() && "Uses remain when a
value is destroyed!"' failed.
In-Reply-To:
References:
Message-ID: <20100904001244.481672A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8068
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2010-09-03 19:12:43 CDT ---
Fixed in r113042, 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 llvm.org Fri Sep 3 18:47:38 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 20:47:38 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8078] New: Indvars Pass Turns a Counted Loop into
an Infinite Loop
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8078
Summary: Indvars Pass Turns a Counted Loop into an Infinite
Loop
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tjablin at cs.princeton.edu
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5451)
--> (http://llvm.org/bugs/attachment.cgi?id=5451)
Test case
Transforms an ordinary counted loop into an infinite loop. I have attached C
source code and llvm bitcode to demonstrate the bug. To reproduce:
$ clang -O2 ./KS-2.c -emit-llvm -c -o ks.all.ll
$ clang ks.all.ll -o ks.all
$ ./ks.all
0 + 1: 1
$ opt ks.all.ll -indvars -o ks.all.indvars.ll
$ clang ks.all.indvars.ll -o ks.all.indvars
$ ./ks.all.indvars
0 + 1: 1
0 + 1: 1
0 + 1: 1
...
--
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 llvm.org Fri Sep 3 18:56:20 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 20:56:20 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8079] New: Bugpoint segfaults when diagnosing 8408
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8079
Summary: Bugpoint segfaults when diagnosing 8408
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tjablin at cs.princeton.edu
CC: llvmbugs at cs.uiuc.edu
--
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 llvm.org Fri Sep 3 19:31:36 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 21:31:36 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8080] New: Assertion `use_empty() && "Uses remain
when a value is destroyed!"
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8080
Summary: Assertion `use_empty() && "Uses remain when a value is
destroyed!"
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ofv at wanadoo.es
CC: llvmbugs at cs.uiuc.edu
That aasertion on Value::~Value fails when executing examples/Fibonacci.
Those debug messages are also shown, which comes from the same place:
Use still stuck around after Def is destroyed: %arg1 = sub i32 %AnArg, 2
Use still stuck around after Def is destroyed: %cond = icmp sle i32 %AnArg, 2
A fix for PR 8068, which reports the same assertion on clang, was just
committed on r113042. The problem with Fibonacci was unaffected by that fix.
--
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 llvm.org Fri Sep 3 19:43:15 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 3 Sep 2010 21:43:15 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8078] Indvars Pass Turns a Counted Loop into an
Infinite Loop
In-Reply-To:
References:
Message-ID: <20100904024315.1C7032A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8078
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Dan Gohman 2010-09-03 21:43:14 CDT ---
Fixed in 113057.
--
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 llvm.org Sat Sep 4 06:18:16 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 4 Sep 2010 08:18:16 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8081] New: -analyzer-check-objc-mem
-analyzer-experimental-checks: Segmentation fault (core dumped)
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8081
Summary: -analyzer-check-objc-mem
-analyzer-experimental-checks: Segmentation fault
(core dumped)
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: kremenek at apple.com
ReportedBy: dimhen at gmail.com
CC: llvmbugs at cs.uiuc.edu
# cat tst.c
#include
void new_fseek(FILE *stream, long offset, int whence)
{
fseek(stream, offset, whence);
}
# clang --version
clang version 2.8 (trunk 113069)
Target: i386-pc-linux-gnu
Thread model: posix
# /usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze
-analyzer-check-objc-mem -analyzer-experimental-checks tst.c
0 clang 0x09094be8
Stack dump:
0. Program arguments: /usr/src/llvm/Release+Asserts/bin/clang -cc1
-analyze -analyzer-check-objc-mem -analyzer-experimental-checks tst.c
1. parser at end of file
2. tst.c:5:3: Error evaluating statement
3. tst.c:5:3: Error evaluating statement
Segmentation fault (core dumped)
# /usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze
-analyzer-experimental-checks tst.c
# /usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze
-analyzer-check-objc-mem tst.c
--
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 llvm.org Sat Sep 4 11:39:23 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 4 Sep 2010 13:39:23 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8082] New: clang doesn't diagnose reference to
reference
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8082
Summary: clang doesn't diagnose reference to reference
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
GCC rejects this, clang doesn't:
class foo {
foo();
typedef int& A;
A x;
A & getfoo() { return 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 llvm.org Sat Sep 4 17:41:59 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 4 Sep 2010 19:41:59 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7990] calling non-const method from a const method
produces embarrassing diagnostic
In-Reply-To:
References:
Message-ID: <20100905004159.4EF972A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7990
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Chris Lattner 2010-09-04 19:41:59 CDT ---
*** This bug has been marked as a duplicate of bug 6678 ***
--
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 llvm.org Sat Sep 4 23:04:19 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 01:04:19 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8063] clang asserts in StreamIt fft benchmark
In-Reply-To:
References:
Message-ID: <20100905060419.A051E2A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8063
Thomas B. Jablin changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |llvmbugs at cs.uiuc.edu
Component|Frontend |new bugs
AssignedTo|unassignedclangbugs at nondot. |unassignedbugs at nondot.org
|org |
Product|clang |new-bugs
--- Comment #4 from Thomas B. Jablin 2010-09-05 01:04:19 CDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Can you provide the output of "clang -v"? I can't reproduce.
> >
> > I just tested again with revision 113069 and it works now. I am marking FIXED.
>
> I spoke too soon. My testcase now works, but the full program still dies. I'll
> post the full C source.
Looking at it again, the bug is actually in llvm proper. The testcase still
asserts with -O2. I have attached a bugpoint reduced testcase. The bug is in
the -globalopt pass.
--
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 llvm.org Sun Sep 5 01:08:46 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 03:08:46 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8083] New: wine's kernel32/time test fails with
clang, passes with gcc
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8083
Summary: wine's kernel32/time test fails with clang, passes
with gcc
Product: clang
Version: 2.7
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: austinenglish at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5455)
--> (http://llvm.org/bugs/attachment.cgi?id=5455)
source example
>From http://bugs.winehq.org/show_bug.cgi?id=24270.
I've narrowed the case down a bit, but it's still in the form of a wine test.
Hopefully it'll give you a starting point though. If I can provide any more
information, please let me know.
Clang used:
austin at midna:~/wine-clang/dlls/kernel32/tests$ clang --version
clang version 1.1 (branches/release_27)
Target: x86_64-pc-linux-gnu
Thread model: posix
Same test passes with:
austin at midna:~/wine-clang/dlls/kernel32/tests$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20100821 (experimental) (GCC)
stripped down testcase attached.
On clang, make time.ok gives:
../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p
kernel32_test.exe.so time.c && touch time.ok
time.c:96: Test failed: Test SystemTimeToTzSpecificLocalTime #3. Got 2004-03-02
02:00. Expect hour = 03
time.c:96: Test failed: Test SystemTimeToTzSpecificLocalTime #3. Got 2004-03-02
02:00. Expect hour = 03
time.c:96: Test failed: Test SystemTimeToTzSpecificLocalTime #1. Got 2004-03-02
02:00. Expect hour = 01
time.c:96: Test failed: Test SystemTimeToTzSpecificLocalTime #2. Got 2004-03-02
02:00. Expect hour = 01
time.c:96: Test failed: Test SystemTimeToTzSpecificLocalTime #3. Got 2004-03-02
02:00. Expect hour = 03
time.c:96: Test failed: Test SystemTimeToTzSpecificLocalTime #3. Got 2004-03-17
02:00. Expect hour = 03
make: *** [time.ok] Error 6
on gcc, passes without error.
--
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 llvm.org Sun Sep 5 02:48:41 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 04:48:41 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8084] New: No namespace awareness of static
template fields
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8084
Summary: No namespace awareness of static template fields
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: fritzsche at acm.org
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
> cat foo.cxx
namespace F {
template struct Foo {
static A *field;
};
}
using namespace F;
struct Bar : Foo {};
template <> Bar* Foo::field = 0;
> clang++ -fsyntax-only foo.cxx
foo.cxx:9:28: error: static data member specialization of 'field' must
originally be declared in namespace 'F'
template <> Bar* Foo::field = 0;
^
foo.cxx:3:19: note: explicitly specialized declaration is here
static A *field;
================================================================
system: Linux 2.6.32-24-generic amd64 Ubuntu 10.04
clang version 2.8 (trunk 113084)
Target: x86_64-unknown-linux-gnu
Thread model: posix
--
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 llvm.org Sun Sep 5 03:03:01 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 05:03:01 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8085] New: [PATCH] lib/System/Host.cpp: x86 SSE3
Feature check bug (wrong datum used)
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8085
Summary: [PATCH] lib/System/Host.cpp: x86 SSE3 Feature check
bug (wrong datum used)
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: System Library
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nms+llvm at otdel-1.org
CC: llvmbugs at cs.uiuc.edu
sse3 check must be done after cpuid(1, ...),
not after cpuid(0x80000001, ...)
--
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 llvm.org Sun Sep 5 03:19:45 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 05:19:45 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8086] New: lib/Target/X86/X86InstrSSE.td: cvtsi2sd
& friends are not in SSE1 (they are in SSE2)
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8086
Summary: lib/Target/X86/X86InstrSSE.td: cvtsi2sd & friends are
not in SSE1 (they are in SSE2)
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nms+llvm at otdel-1.org
CC: llvmbugs at cs.uiuc.edu
well, summary says all
--
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 llvm.org Sun Sep 5 08:23:55 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 10:23:55 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8082] clang doesn't diagnose reference to reference
In-Reply-To:
References:
Message-ID: <20100905152355.B15082A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8082
Douglas Gregor changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #3 from Douglas Gregor 2010-09-05 10:23:55 CDT ---
This is C++ DR106:
http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#106
My impression is that this defect was intended to apply to the C++98/03
language, but it missed the cutoff for the C++03 document. EDG seems to be
treating it that way, and I'm guessing that newer GCC's do, too.
I think Clang is doing the right thing.
--
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 llvm.org Sun Sep 5 09:43:08 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 11:43:08 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8087] New: operator overloading for enums is
ambiguous
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8087
Summary: operator overloading for enums is ambiguous
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: pip88nl at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Clang rejects the following code:
// BEGIN
enum E {
one
};
bool operator >= (E, E) {
return 0;
}
int main () {
E a = one, b = one;
a >= b; // ambiguous here
}
// END
with an ambiguity error. This is true for revision 112476 and release 2.7.
According to the C++ standard 13.6.1: If there is a user-written candidate
withthe same name and parameter types as a built-in candidate operator
function, the built-in operator function is hidden and is not included in the
set of candidate functions.
--
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 llvm.org Sun Sep 5 10:21:14 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 12:21:14 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8063] clang asserts in StreamIt fft benchmark
In-Reply-To:
References:
Message-ID: <20100905172114.788422A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8063
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Chris Lattner 2010-09-05 12:21:14 CDT ---
Fixed in r113109, thanks for the reduced 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 llvm.org Sun Sep 5 15:41:16 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 17:41:16 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8088] New: segfault on simple template function
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8088
Summary: segfault on simple template function
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: pip88nl at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=5457)
--> (http://llvm.org/bugs/attachment.cgi?id=5457)
stderr output of "clang test.cc"
In revision 113114, clang causes signal 11 to be raised when trying to parse a
simple template function:
// BEGIN
template
T const &id (T const &a) {
return a;
}
int main () {
id (0);
}
// END
uname -a:
Linux osiris 2.6.32-5-amd64 #1 SMP Thu Aug 12 13:01:50 UTC 2010 x86_64
GNU/Linux
clang -v:
clang version 2.8 (trunk 113114)
Target: x86_64-pc-linux-gnu
Thread model: posix
Error output attached.
--
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 llvm.org Sun Sep 5 16:09:40 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 18:09:40 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8080] Assertion `use_empty() && "Uses remain when a
value is destroyed!"
In-Reply-To:
References:
Message-ID: <20100905230940.D59932A6C12E@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8080
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2010-09-05 18:09:40 CDT ---
Fixed in r113123, 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 llvm.org Sun Sep 5 16:16:13 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 18:16:13 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8023] clang c++ assertion "Invalid opcode for
overloaded unary operator" using __real__ on expression of class type
In-Reply-To:
References:
Message-ID: <20100905231613.627AD2A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=8023
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Eli Friedman 2010-09-05 18:16:12 CDT ---
Fixed in r113124.
--
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 llvm.org Sun Sep 5 16:16:28 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 18:16:28 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7320] #pragma GCC dependency crashes FE without the
optional trailing text
In-Reply-To:
References:
Message-ID: <20100905231628.464702A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7320
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|new bugs |Frontend
Resolution| |FIXED
AssignedTo|unassignedbugs at nondot.org |unassignedclangbugs at nondot.
| |org
Product|new-bugs |clang
--- Comment #2 from Chris Lattner 2010-09-05 18:16:27 CDT ---
Fixed in r113125, 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 llvm.org Sun Sep 5 16:30:01 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 18:30:01 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7192] clang -Wwrite-strings doesn't allow writing
to wchars
In-Reply-To:
References:
Message-ID: <20100905233001.19DF52A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7192
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2010-09-05 18:30:00 CDT ---
Fixed in r113127, 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 llvm.org Sun Sep 5 17:10:53 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 19:10:53 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7242] Assert on valid code: Constant declref with
side-effect?!
In-Reply-To:
References:
Message-ID: <20100906001053.D66D42A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7242
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Eli Friedman 2010-09-05 19:10:53 CDT ---
Fixed in r113128.
--
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 llvm.org Sun Sep 5 17:13:31 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 19:13:31 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7151] problem with anonymous union + c99
initializers
In-Reply-To:
References:
Message-ID: <20100906001331.4415C2A6C124@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7151
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Chris Lattner 2010-09-05 19:13:30 CDT ---
Fixed here: r113130
--
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 llvm.org Sun Sep 5 17:15:13 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 19:15:13 -0500 (CDT)
Subject: [LLVMbugs] [Bug 6926] llvm build fails due to __func__ conflicts in
gcc 4.5.1 on Darwin 10.6.2
In-Reply-To:
References:
Message-ID: <20100906001513.C9D9D2A6C12C@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=6926
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Chris Lattner 2010-09-05 19:15:13 CDT ---
No idea. It's a bug in your host GCC.
--
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 llvm.org Sun Sep 5 17:16:48 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 19:16:48 -0500 (CDT)
Subject: [LLVMbugs] [Bug 7092] [patch] Makes Module::getOrInsertFunction
accept va_args in addition to ellipsis
In-Reply-To:
References:
Message-ID: <20100906001648.774972A6C12C@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=7092
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #4 from Chris Lattner 2010-09-05 19:16:48 CDT ---
I would rather not do this. The varargs versions of these functions are just a
convenience, if you want to pass in a structured list, please usethe std:vector
versions of these.
--
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 llvm.org Sun Sep 5 18:10:32 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 20:10:32 -0500 (CDT)
Subject: [LLVMbugs] [Bug 5319] store not sunk by licm
In-Reply-To:
References:
Message-ID: <20100906011032.2E1322A6C12D@llvm.org>
http://llvm.org/bugs/show_bug.cgi?id=5319
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Chris Lattner 2010-09-05 20:10:31 CDT ---
Fixed in r113134.
--
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 llvm.org Sun Sep 5 19:06:50 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 21:06:50 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8089] New: clang crashes when an enum forward
declaration is used in cast
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8089
Summary: clang crashes when an enum forward declaration is used
in cast
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: pichet2000 at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
test.cpp:
enum E;
int a = (E)3;
clang -cc1 -fsyntax-only test.cpp
stack dump.
--
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 llvm.org Sun Sep 5 19:09:08 2010
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 5 Sep 2010 21:09:08 -0500 (CDT)
Subject: [LLVMbugs] [Bug 8090] New: clang++ crash after typo recovery
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8090
Summary: clang++ crash after typo recovery
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Clang++ crashes on this, I hit this when I forgot to include