[LLVMbugs] [Bug 7356] New: Internal error in jump threading

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 11 04:45:24 PDT 2010


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

           Summary: Internal error in jump threading
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: moonshine at kapsi.fi
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5012)
 --> (http://llvm.org/bugs/attachment.cgi?id=5012)
a self-contained testcase

This is a machine-generated file with only one very large function.

clang -O -c io.i
clang: BasicBlockUtils.cpp:398: llvm::BasicBlock*
llvm::SplitBlockPredecessors(llvm::BasicBlock*, llvm::BasicBlock* const*,
unsigned int, const char*, llvm::Pass*): Assertion
`!isa<IndirectBrInst>(Preds[i]->getTerminator()) && "Cannot split an edge from
an IndirectBrInst"' failed.
0  clang 0x08f6a0d7
Stack dump:
0.    Program arguments: /home/misty/gcc/bin/clang -cc1 -triple
i386-pc-linux-gnu -S -disable-free -main-file-name io.i -mrelocation-model
static -mdisable-fp-elim -mconstructor-aliases -target-cpu pentium4
-resource-dir /home/misty/gcc/lib/clang/2.0 -O2 -ferror-limit 19
-fmessage-length 80 -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics
-o /tmp/cc-ZH6ozG.s -x cpp-output io.i 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module 'io.i'.
4.    Running pass 'Jump Threading' on function '@___H__20___io'
clang: error: clang frontend command failed due to signal 6 (use -v to see
invocation)

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