This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/67409] [5/6 Regression] tree-cfg.c dereferences a NULL pointer
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Sep 2015 08:39:10 +0000
- Subject: [Bug middle-end/67409] [5/6 Regression] tree-cfg.c dereferences a NULL pointer
- Auto-submitted: auto-generated
- References: <bug-67409-4 at http dot gcc dot gnu dot org/bugzilla/>
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.