This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16036] [3.5 regression] Spurious "may be used uninitialized in this function" warning
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2004 02:14:59 -0000
- Subject: [Bug c++/16036] [3.5 regression] Spurious "may be used uninitialized in this function" warning
- References: <20040617184019.16036.wanderer@rsu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rth at gcc dot gnu dot org 2004-06-18 02:14 -------
We can't "just ignore" abnormal edges, as that would fail to identify places
where variables are *never* assigned. There does, however, appear to be some
pessimization going on because of the abnormal edge.
The generated code is correct, in case anyone's wondering. The value is only
uninitialized along a path that it won't be used.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16036