This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19025] New: [4.0.0 regression] false report: "control reaches end of non-void function"
- From: "jbuck at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2004 23:40:51 -0000
- Subject: [Bug c++/19025] New: [4.0.0 regression] false report: "control reaches end of non-void function"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
For the attached program, gcc 4.0.0 20041214 (experimental) reports
foo9.cpp:24: warning: control reaches end of non-void function
which is obviously incorrect. This bug isn't in 3.4.x.
--
Summary: [4.0.0 regression] false report: "control reaches end of
non-void function"
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jbuck at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19025