This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17126] [3.5 Regression] ICE with -fno-unit-at-a-time and -O3
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2004 13:23:12 -0000
- Subject: [Bug middle-end/17126] [3.5 Regression] ICE with -fno-unit-at-a-time and -O3
- References: <20040820204405.17126.bommar33@msu.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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