[LLVMbugs] [Bug 6074] New: Invalid optimization on x86-32

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jan 18 11:41:02 PST 2010


           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: unassignedbugs at nondot.org
        ReportedBy: stein at ir.iit.edu
                CC: llvmbugs at cs.uiuc.edu

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.

More information about the llvm-bugs mailing list