[LLVMbugs] [Bug 6157] New: opt -O1 segfault

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jan 26 23:23:01 PST 2010


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

           Summary: opt -O1 segfault
           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: viridia at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4126)
 --> (http://llvm.org/bugs/attachment.cgi?id=4126)
One of my compiler unit tests (bitcode file)

With the attached .bc file, opt will run fine with no passes specified, but
will segfault if -O1 is specified.

/home/talin/Projects/llvm-inst/bin/opt -O1 test/stdlib/SwitchStmtTest.bc >
/dev/null
Stack dump:
0.      Program arguments: /home/talin/Projects/llvm-inst/bin/opt -O1
test/stdlib/SwitchStmtTest.bc 
1.      Running pass 'Function Pass Manager' on module
'test/stdlib/SwitchStmtTest.bc'.
2.      Running pass 'Module Verifier' on function
'@"main(tart.core.String[])->int32"'
Segmentation fault


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