http://llvm.org/bugs/show_bug.cgi?id=6074
Summary: Invalid optimization on x86-32
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=4074)
--> (http://llvm.org/bugs/attachment.cgi?id=4074)
Original BitCode
Attached is the BitCode from a simple test program I have.
The program is essentially:
for(i=10; i>0; i--) {printf("%d\n", i);}
Using the head version of LLVM, if I do
lli bad.bc
it works properly.
llvm-ld -native -o=x bad.bc -disable-opt
makes a working program. However,
llvm-ld -native -o=x bad.bc
segfaults, as does running lli on the resulting x.bc.
This happens on Linux x86-32.
--
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