This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/44106] False warning: 'control reaches end of non-void function' when comparing to undefined var
- 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: 24 Jul 2010 21:26:19 -0000
- Subject: [Bug middle-end/44106] False warning: 'control reaches end of non-void function' when comparing to undefined var
- References: <bug-44106-16552@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-24 21:26 -------
>The warning does not occur in 4.4.3.
For C, it does. And it warns in 4.1.2 also.
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c++ |middle-end
Ever Confirmed|0 |1
GCC build triplet|x86_64-unknown-linux-gnu |
GCC host triplet|x86_64-unknown-linux-gnu |
GCC target triplet|x86_64-unknown-linux-gnu |
Known to fail| |4.3.2 4.1.2 4.3.2
Last reconfirmed|0000-00-00 00:00:00 |2010-07-24 21:26:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44106