This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9916: [3.2 regression] ICE with noreturn function in ?: statement
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, sobe at ure dot cas dot cz
- Date: 3 Mar 2003 14:36:51 -0000
- Subject: Re: c++/9916: [3.2 regression] ICE with noreturn function in ?: statement
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, sobe at ure dot cas dot cz, gcc-gnats at gcc dot gnu dot org
Old Synopsis: internal compiler error with gcc 3.2.2
New Synopsis: [3.2 regression] ICE with noreturn function in ?: statement
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Mar 3 14:36:50 2003
State-Changed-Why:
Confirmed. This is the following problem:
---------------------
void no_return () __attribute__((__noreturn__));
int i
= (true ? 0 : (no_return(), 0));
-------------------------------
It is fixed in 3.3 and 3.4, though, so will probably not
be fixed for 3.2.x. I keep it open until we decide to
abandon the 3.2 branch, since it is a regression (didn't
ICE with 3.0).
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9916