[LLVMbugs] [Bug 6605] New: ice: Cannot use this version of ReplaceAllUsesWith!
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Mar 12 22:47:30 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6605
Summary: ice: Cannot use this version of ReplaceAllUsesWith!
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu, chenyang at cs.utah.edu
Created an attachment (id=4506)
--> (http://llvm.org/bugs/attachment.cgi?id=4506)
failure-inducing input
regehr at john-home:~/volatile/bugs/tmp292$ clang -v
clang version 1.1 (trunk 98425)
Target: i386-pc-linux-gnu
Thread model: posix
regehr at john-home:~/volatile/bugs/tmp292$ clang -O2 -c small.c
clang: SelectionDAG.cpp:4972: void
llvm::SelectionDAG::ReplaceAllUsesWith(llvm::SDNode*, llvm::SDNode*,
llvm::SelectionDAG::DAGUpdateListener*): Assertion `(!From->hasAnyUseOfValue(i)
|| From->getValueType(i) == To->getValueType(i)) && "Cannot use this version of
ReplaceAllUsesWith!"' failed.
0 clang 0x08eec968
Stack dump:
0. Program arguments:
/home/regehr/z/compiler-install/llvm-gcc-r98425-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
-resource-dir
/home/regehr/z/compiler-install/llvm-gcc-r98425-install/lib/clang/1.1 -O2
-fmessage-length 80 -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics
-o /tmp/cc-mrfDfd.s -x c small.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'X86 DAG->DAG Instruction Selection' on function '@func_1'
clang: error: compiler 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