[Bug c++/37062] missing warning on unreachable return statement

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 8 19:07:00 GMT 2008



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-08 19:06 -------
>    17      return 1;   // unreachable, no warning

This is only unreachable with optimization turned on so closing as invalid.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list