[Bug c++/47864] incorrect control reaches end of non-void function (switch+break+default)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 23 22:32:00 GMT 2011


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-23 22:08:42 UTC ---
This is exactly the same issue as PR 20681.  The issue is that is try finally
block which will produce a fallthrough which is not needed.

*** This bug has been marked as a duplicate of bug 20681 ***



More information about the Gcc-bugs mailing list