This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21548] [4.0 regression] Wrong warning about uninitialized variable
- 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: 13 May 2005 22:14:10 -0000
- Subject: [Bug tree-optimization/21548] [4.0 regression] Wrong warning about uninitialized variable
- References: <20050513144556.21548.schwab@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 22:14 -------
Actually rethinking the problem, the only time we could execute the "if(bytes == 0)" is not going
through the loop. Maybe the order in execute_late_warn_uninitialized should be switched around but
that will not fix this case as we already found that is the only time we can get there. Hmm, I think we
are now missing a jump thread opportunity on the mainline then.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21548