This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/10175: [3.3/3.4 regression] -Wunreachable-code broken
- From: bangerth at dealii dot org
- To: bobsummerwill at ea dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 21 Mar 2003 01:35:59 -0000
- Subject: Re: c/10175: [3.3/3.4 regression] -Wunreachable-code broken
- Reply-to: bangerth at dealii dot org, bobsummerwill at ea dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: -Wunreachable-code appears broken for one-line blocks.
New Synopsis: [3.3/3.4 regression] -Wunreachable-code broken
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Mar 21 01:35:59 2003
State-Changed-Why:
Confirmed, the warning is only displayed for the
multi-statement block.
However, what is worse: for 3.3 and present mainline, the
warning isn't generated _at all_, so this is a regression.
All this is the same for the C and C++ front ends, by the
way, so I put it into the more generic "C" category.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10175