-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
| Bugzilla Link | 9055 |
| Resolution | FIXED |
| Resolved on | Apr 16, 2011 18:29 |
| Version | trunk |
| OS | Linux |
| CC | @efriedma-quic |
Extended Description
regehr@home:~/volatile/bugs/tmp350$ clang -O2 small.c
clang: DAGCombiner.cpp:980: void::DAGCombiner::Run(llvm::CombineLevel): Assertion `N->getOpcode() != ISD::DELETED_NODE && RV.getNode()->getOpcode() != ISD::DELETED_NODE && "Node was deleted but visit returned new node!"' failed.
0 clang 0x094ab5a8
Stack dump:
0. Program arguments: /mnt/z/z/compiler-install/llvm-gcc-r124277-install/bin/clang -cc1 -triple i386-pc-linux-gnu -emit-obj -disable-free -main-file-name small.c -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu pentium4 -target-linker-version 2.20.51 -resource-dir /mnt/z/z/compiler-install/llvm-gcc-r124277-install/bin/../lib/clang/2.9 -O2 -ferror-limit 19 -fmessage-length 80 -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-vweHAm.o -x c small.c
- parser at end of file
- Code generation
- Running pass 'Function Pass Manager' on module 'small.c'.
- Running pass 'X86 DAG->DAG Instruction Selection' on function '@foo'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal 1 (use -v to see invocation)
regehr@home:~/volatile/bugs/tmp350$ clang -v
clang version 2.9 (trunk 124277)
Target: i386-pc-linux-gnu
Thread model: posix
regehr@home:~/volatile/bugs/tmp350$ cat small.c
struct S0
{
int f0;
signed f1 : 13;
signed f2 : 30;
};
struct S0 g_98;
void func_12 (int p_14, unsigned char p_15);
void func_4(struct S0 p_5)
{
func_12(p_5.f1, g_98.f1);
}
void foo(void)
{
func_4(g_98);
}