[LLVMbugs] [Bug 6606] New: ice: replaceAllUses of value with new value of different type!
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Mar 12 22:50:20 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6606
Summary: ice: replaceAllUses of value with new value of
different type!
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=4507)
--> (http://llvm.org/bugs/attachment.cgi?id=4507)
failure-inducing input
regehr at john-home:~/volatile/bugs/tmp293$ clang -v
clang version 1.1 (trunk 97208)
Target: i386-pc-linux-gnu
Thread model: posix
regehr at john-home:~/volatile/bugs/tmp293$ clang -O1 small.c
small.c:6:9: warning: expression result unused [-Wunused-value]
*l_22 != (0 >= *p_17 | *p_17 == 0);
~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
clang: /home/regehr/llvm/lib/VMCore/Value.cpp:317: void
llvm::Value::replaceAllUsesWith(llvm::Value*): Assertion `New->getType() ==
getType() && "replaceAllUses of value with new value of different type!"'
failed.
0 clang 0x091a05d8
Stack dump:
0. Program arguments: /home/regehr/llvm/inst/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/llvm/inst/lib/clang/1.1 -O1 -fmessage-length 80
-fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-iTGLs3.s
-x c small.c
1. <eof> parser at end of file
2. Per-function optimization
3. Running pass 'Combine redundant instructions' on function '@func_16'
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