This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25649] [4.2 regression] Bogus "uninitialized" warning
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2006 15:17:19 -0000
- Subject: [Bug c++/25649] [4.2 regression] Bogus "uninitialized" warning
- References: <bug-25649-2736@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pcarlini at suse dot de 2006-01-04 15:17 -------
(In reply to comment #5)
> Hmm, if I understood correctly, this means that the variable is not set if the
> reading operation fails. That sounds plausible, and in this case the warning is
> perfectly OK and should not be suppressed. I had never thought of that ...
Totally correct.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25649