[LLVMbugs] [Bug 8194] New: Assertion on optimisation
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Sep 21 02:54:20 PDT 2010
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: unassignedclangbugs at nondot.org
ReportedBy: chris at bubblescope.net
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
More information about the llvm-bugs
mailing list