This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/17126] [3.5 Regression] ICE with -fno-unit-at-a-time and -O3


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-09-10 13:23 -------
The testcases in comment #11 and #8 do not fail any more.
However, the original testcase still fails.
Here's a reduced testcase for this failure:

==================================
void foo()
{
    struct { int i; } *p;
    p->i = 0;
}

void bar()
{
    foo();
}

void baz()
{
    bar();
}
==================================

Compiling this with "gcc -fno-unit-at-a-time -O3" causes an ICE:

PR17126B.c:15: error: Inlined_to pointer is wrong
foo/11: (inline copy in baz/9) 1 insns tree inlinable asm_written
  called by: bar/10 (inlined) 
  calls: 
PR17126B.c:15: internal compiler error: verify_cgraph_node failed.
Please submit a full bug report, [etc.]


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.0                         |4.0.0
            Summary|[3.5 Regression] ICE in GC  |[3.5 Regression] ICE with -
                   |with non-unit-at-a-time     |fno-unit-at-a-time and -O3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17126


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]