[LLVMbugs] [Bug 9055] New: Node was deleted but visit returned new node!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 25 20:44:50 PST 2011


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

           Summary: Node was deleted but visit returned new node!
           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


regehr at home:~/volatile/bugs/tmp350$ clang -O2 small.c 

clang: DAGCombiner.cpp:980:
void<unnamed>::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 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'small.c'.
4.    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 at home:~/volatile/bugs/tmp350$ clang -v

clang version 2.9 (trunk 124277)
Target: i386-pc-linux-gnu
Thread model: posix

regehr at 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);
}

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