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.