[Bug tree-optimization/17368] [4.0 Regression] ice in optimize_inline_calls, at tree-inline.c
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 20 10:30:00 GMT 2004
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-09-20 10:30 -------
Here's something slightly shorter:
===============================================
struct A
{
~A();
};
int foo(A);
void bar()
{
int i;
A a;
asm("" : "=r"(i) : "0"(foo(a)) : "cc");
};
===============================================
Without optimization I get:
<with_cleanup_expr 0x40155e00>PR17368.cc: In function `void bar()':
PR17368.cc:9: internal compiler error: unexpected node
Please submit a full bug report, [etc.]
Using -O and replacing "~A();" by "~A() {}" I get the ICE in
optimize_inline_calls.
The bug appeared with the tree-ssa merge.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|normal |critical
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17368
More information about the Gcc-bugs
mailing list