http://llvm.org/bugs/show_bug.cgi?id=8194
Summary: Assertion on optimisation
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created an attachment (id=5511)
--> (http://llvm.org/bugs/attachment.cgi?id=5511)
Asserting testcase
The following code is reduced from an example for boost::date_time. It compiles
fine with 'clang++ t.cc -c', but fails with 'clang++ t.cc -O' (or higher
optimisation level).
I believe this a boundary case somewhere, as the constant 9223372036854775807 (
= 2^63 - 1) appears, and changing this by one value up or down makes the code
compiler correctly. Apologies for the size of the testcase.
I strongly believe this test has worked at some point in the past, but I am not
sure exactly when.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs