public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36254]  New: wrong "control reaches end of non-void function" warning
@ 2008-05-17  9:54 pluto at agmk dot net
  2008-05-17  9:55 ` [Bug c++/36254] " pluto at agmk dot net
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: pluto at agmk dot net @ 2008-05-17  9:54 UTC (permalink / raw)
  To: gcc-bugs

$ g++ t1.cpp -Wall -c
t1.cpp: In function 'bool f()':
t1.cpp:10: warning: control reaches end of non-void function

$ g++ t2.cpp -Wall -c
t2.cpp: In function 'bool f(int)':
t2.cpp:16: warning: control reaches end of non-void function

tested on 4.1.2, 4.2.3-20080201 and 4.3.0-20080417


-- 
           Summary: wrong "control reaches end of non-void function" warning
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
  GCC host triplet: x86_64-gnu-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36254


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-09-02 16:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-17  9:54 [Bug c++/36254] New: wrong "control reaches end of non-void function" warning pluto at agmk dot net
2008-05-17  9:55 ` [Bug c++/36254] " pluto at agmk dot net
2008-05-17  9:55 ` pluto at agmk dot net
2008-05-17 11:14 ` pluto at agmk dot net
2008-05-17 12:56 ` rguenth at gcc dot gnu dot org
2008-05-25 19:21 ` pluto at agmk dot net
2008-08-25 11:17 ` manu at gcc dot gnu dot org
2008-10-22 18:21 ` manu at gcc dot gnu dot org
2008-10-27 12:24 ` jakub at gcc dot gnu dot org
2008-10-27 12:43 ` manu at gcc dot gnu dot org
2008-10-27 14:06 ` jakub at gcc dot gnu dot org
2008-10-27 14:36 ` manu at gcc dot gnu dot org
2008-12-28  3:32 ` pinskia at gcc dot gnu dot org
2008-12-28  3:36 ` [Bug c++/36254] [4.2/4.3/4.4 Regression] wrong "control reaches end of non-void function" warning with IF_STMT pinskia at gcc dot gnu dot org
2008-12-29 21:49 ` rguenth at gcc dot gnu dot org
2009-01-11 21:15 ` jakub at gcc dot gnu dot org
2009-01-11 21:33 ` [Bug c++/36254] [4.2/4.3 " jakub at gcc dot gnu dot org
2009-02-14 10:05 ` pinskia at gcc dot gnu dot org
2009-03-31 20:51 ` [Bug c++/36254] [4.3 " jsm28 at gcc dot gnu dot org
2009-08-04 12:40 ` rguenth at gcc dot gnu dot org
2010-05-22 18:24 ` rguenth at gcc dot gnu dot org
2010-09-02 16:23 ` pluto at agmk dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).