c/9530: [3.2/3.3/3.4 regression] ICE on missing return statement
reichelt@igpm.rwth-aachen.de
reichelt@igpm.rwth-aachen.de
Fri Jan 31 23:39:00 GMT 2003
Old Synopsis: self-reported internal compiler error
New Synopsis: [3.2/3.3/3.4 regression] ICE on missing return statement
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Fri Jan 31 23:39:51 2003
State-Changed-Why:
Confirmed (on i686-pc-linux-gnu).
The problem can be shown with the following code snippet:
---------------snip here---------------
void foo(float d);
float bar(float d);
float baz(float d) { foo(bar(d)); }
---------------snip here---------------
Just compile with gcc -c -O2 to see the compiler crash :-(
The bug is present since gcc 3.1.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9530
More information about the Gcc-prs
mailing list