[LLVMbugs] [Bug 2336] New: llvm miscompiles tree-cfg.c

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri May 16 20:05:59 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2336

           Summary: llvm miscompiles tree-cfg.c
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Loop Optimizer
        AssignedTo: rafael.espindola at gmail.com
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1647)
 --> (http://llvm.org/bugs/attachment.cgi?id=1647)
testcase

Bootstrap is broken on linux i686. The stage2 compiler segfaults. I have
reduced the problem to wrong code being produced for tree-cfg.c.

The attached tree-cfg.bc is correct. It was produced with -O0. Passing it by
"opt -std-compile-opts" produces an invalid output.

To reproduce the bug I am manually linking cc1. If someone wants I can upload
the ".o" files.


-- 
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