This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/67409] [5/6 Regression] tree-cfg.c dereferences a NULL pointer


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
      Known to work|                            |4.9.3
   Target Milestone|---                         |5.3
            Summary|tree-cfg.c dereferences a   |[5/6 Regression] tree-cfg.c
                   |NULL pointer                |dereferences a NULL pointer

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
> g++-4.9 -fpermissive -S t.ii
t.ii: In function âvoid f()â:
t.ii:7: warning: jump to label âl2â
t.ii:4: warning:   from here
t.ii:7: error:   enters catch block

so that we allow this with -fpermissive is new and possibly not a good idea
as seen from the crash.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]