This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/9530: [3.2/3.3/3.4 regression] ICE on missing return statement
- From: reichelt at igpm dot rwth-aachen dot de
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, sls at usc dot edu
- Date: 31 Jan 2003 23:39:52 -0000
- Subject: Re: c/9530: [3.2/3.3/3.4 regression] ICE on missing return statement
- Reply-to: reichelt at igpm dot rwth-aachen dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, sls at usc dot edu, gcc-gnats at gcc dot gnu dot org
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