This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/18739] warning of uninitialized value gets suppressed without optimization with initialization after continue in loop
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2004 14:17:39 -0000
- Subject: [Bug c/18739] warning of uninitialized value gets suppressed without optimization with initialization after continue in loop
- References: <20041130140535.18739.maierkom@rcs.ei.tum.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-30 14:17 -------
No the warning is correct as continue, still checks the loop exit condition.
Oh if you are wondering why we don't warn without optimization, well this is because of flow reasons, it
would take more time to get the flow analysis up and running to do the optimization but we don't want
to slow down -O0 compiling.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18739