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

           Summary: Assertion `From != To &&
                    "ReplaceAndSimplifyAllUses(X,X) is not valid!"'
                    failed.
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


reg...@john-home:~/volatile/bugs/tmp333$ clang -v
clang version 2.9 (trunk 114920)
Target: i386-pc-linux-gnu
Thread model: posix
reg...@john-home:~/volatile/bugs/tmp333$ clang -O1 -c -w small.c
clang: InstructionSimplify.cpp:461: void
llvm::ReplaceAndSimplifyAllUses(llvm::Instruction*, llvm::Value*, const
llvm::TargetData*): Assertion `From != To && "ReplaceAndSimplifyAllUses(X,X) is
not valid!"' failed.
0  clang 0x093a2e78
Stack dump:
0.      Program arguments:
/home/regehr/z/compiler-install/llvm-gcc-r114920-install/bin/clang -cc1 -triple
i386-pc-linux-gnu -S -disable-free -main-file-name small.c -mrelocation-model
static -mdisable-fp-elim -mconstructor-aliases -target-cpu pentium4
-target-linker-version 2.20.1 -resource-dir
/home/regehr/z/compiler-install/llvm-gcc-r114920-install/lib/clang/2.9 -O1 -w
-ferror-limit 19 -fmessage-length 88 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-a0iwf3.s -x c small.c 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module 'small.c'.
4.      Running pass 'Jump Threading' on function '@func_89'
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to