[LLVMbugs] [Bug 8710] New: Optimizer moves a @__cxx_global_var_init into a constant expression, causing as to fail
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Nov 30 13:57:33 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8710
Summary: Optimizer moves a @__cxx_global_var_init into a
constant expression, causing as to fail
Product: new-bugs
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: d235j.1 at gmail.com
CC: llvmbugs at cs.uiuc.edu
When opt is used on the .bc output produced by clang++ from the attached .ii
file, the assembler fails with the following error:
fatal error: error in backend: expected relocatable expression
If no optimization is applied, the bug does not happen.
This code is to be compiled as 64-bit. I'm told this bug is similar to
http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-October/035746.html .
The .ii file is 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.
More information about the llvm-bugs
mailing list