[Bug c/91951] goto + mixed declarations + cleanup attribute considered harmful

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 2 08:01:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91951

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-10-02
            Version|unknown                     |9.2.1
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
gcc never warned for this, but it's an error with C++ to jump over a
declaration.


More information about the Gcc-bugs mailing list