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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 29 11:31:16 PDT 2010


           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 gamow tmp415]$ clang -v
clang version 2.8 (trunk 107118)
Target: x86_64-unknown-linux-gnu
Thread model: posix

[regehr at gamow tmp415]$ clang -Os -c -w small.c

clang: DAGCombiner.cpp:976:
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           0x000000000132a45f
1  clang           0x000000000132c4f2
2  libpthread.so.0 0x00007f9903032190
3  libc.so.6       0x00007f99023374b5 gsignal + 53
4  libc.so.6       0x00007f990233af50 abort + 384
5  libc.so.6       0x00007f9902330481 __assert_fail + 241
6  clang           0x0000000000dd0624
7  clang           0x0000000000dd06df
8  clang           0x0000000000e49653
9  clang           0x0000000000e4bb80
10 clang           0x0000000000e4c2b4
11 clang           0x0000000000e4cb73
12 clang           0x00000000012ad52d
13 clang           0x00000000012ad70b
14 clang           0x00000000012ad9fc
15 clang           0x00000000004fe30e
16 clang           0x00000000004fa3db
17 clang           0x0000000000607f4f
18 clang           0x00000000004fb344
19 clang           0x0000000000423bcd
20 clang           0x000000000040a01b
21 clang           0x0000000000410251 main + 3185
22 libc.so.6       0x00007f9902322abd __libc_start_main + 253
23 clang           0x0000000000407769
Stack dump:
0.    Program arguments:
-cc1 -triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name small.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir
-Os -w -ferror-limit 19 -fmessage-length 90 -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-DpfTYO.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_100'
clang: error: clang frontend command failed due to signal 6 (use -v to see

[regehr at gamow tmp415]$ cat small.c

struct S0
  unsigned f0:12;

struct S1

unsigned char g_22;

struct S0 g_25 = {

unsigned char g_78;
unsigned char g_96;
unsigned char g_97;
unsigned char g_98;

unsigned char * func_90 (unsigned p_91, struct S0 p_92, unsigned char p_93,
unsigned char p_94)
  unsigned char l_95[7][7][1][1][1][1][1][1];
  for (0; 1; g_22 += 1)

void func_100 (int * p_101, unsigned char p_102, unsigned char p_103, unsigned
char p_104)
    func_90 (1, g_25, 0, g_25.f0);

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