Skip to content

ICE: Node was deleted but visit returned new node! #4422

@regehr

Description

@regehr
Bugzilla Link 4050
Resolution FIXED
Resolved on Apr 26, 2009 21:01
Version unspecified
OS Linux
CC @asl,@sunfishcode

Extended Description

Seen using r69856 on Ubuntu Hardy on x86.

regehr@john-home:~/volatile/tmp148$ llvm-gcc -c -Wall -O2 small.c
cc1: DAGCombiner.cpp:675: 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.
small.c:24: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://llvm.org/bugs/ for instructions.

regehr@john-home:~/volatile/tmp148$ cat small.c

struct S1
{
short int f0;
int f1;
};

struct S1 g_10 = {
1, 1
};

void func_28 (long long int p_30, long long int p_32);

struct S1 func_26 (struct S1 p_27)
{
func_28 (p_27.f1, g_10.f1);
return g_10;
}

void func93 (struct S1);

void int322 (int foo)
{
func93 (func_26 (g_10));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions