This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/4210] should not warning with dead code
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2006 23:05:46 -0000
- Subject: [Bug middle-end/4210] should not warning with dead code
- References: <bug-4210-955@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from bangerth at dealii dot org 2006-03-01 23:05 -------
But that's
a) clearly a kludge,
b) may not help in the future if our optimizers become more elaborate
c) doesn't work with code where the code guarded by the if(0) is more
than a single statement.
It would definitely be better to have this fixed in the right place...
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210