[Bug fortran/50627] [4.6/4.7 Regression] Error recovery: ICE in gfc_free_namespace after diagnosing missing end of construct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50627 --- Comment #10 from Thomas Koenig tkoenig at gcc dot gnu.org 2013-02-03 13:15:24 UTC --- Author: tkoenig Date: Sun Feb 3 13:15:18 2013 New Revision: 195695 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=195695 Log: 2013-02-03 Thomas Koenig tkoe...@gcc.gnu.org Backport from trunk PR fortran/50627 PR fortran/56054 * decl.c (gfc_match_end): Remove half-ready namespace from parent if the end of a block is missing. * parse.c (parse_module): Do not put namespace into gsymbol on error. 2013-02-03 Thomas Koenig tkoe...@gcc.gnu.org Backport from trunk PR fortran/50627 PR fortran/56054 * gfortran.dg/block_12.f90: New test. * gfortran.dg/module_error_1.f90: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/block_12.f90 branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/module_error_1.f90 Modified: branches/gcc-4_6-branch/gcc/fortran/ChangeLog branches/gcc-4_6-branch/gcc/fortran/decl.c branches/gcc-4_6-branch/gcc/fortran/parse.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
[Bug fortran/50627] [4.6/4.7 Regression] Error recovery: ICE in gfc_free_namespace after diagnosing missing end of construct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50627 Thomas Koenig tkoenig at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #11 from Thomas Koenig tkoenig at gcc dot gnu.org 2013-02-03 13:16:30 UTC --- Fixed on all affected and supported branches, closing.
[Bug fortran/50627] [4.6/4.7 Regression] Error recovery: ICE in gfc_free_namespace after diagnosing missing end of construct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50627 Thomas Koenig tkoenig at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.7.3 Summary|[4.6/4.7/4.8 Regression]|[4.6/4.7 Regression] Error |Error recovery: ICE in |recovery: ICE in |gfc_free_namespace after|gfc_free_namespace after |diagnosing missing end of |diagnosing missing end of |construct |construct --- Comment #8 from Thomas Koenig tkoenig at gcc dot gnu.org 2013-02-02 09:52:38 UTC --- Fixed on trunk so far.
[Bug fortran/50627] [4.6/4.7 Regression] Error recovery: ICE in gfc_free_namespace after diagnosing missing end of construct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50627 --- Comment #9 from Thomas Koenig tkoenig at gcc dot gnu.org 2013-02-02 22:38:22 UTC --- Author: tkoenig Date: Sat Feb 2 22:38:14 2013 New Revision: 195687 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=195687 Log: 2013-02-02 Thomas Koenig tkoe...@gcc.gnu.org Backport from trunk PR fortran/50627 PR fortran/56054 * decl.c (gfc_match_end): Remove half-ready namespace from parent if the end of a block is missing. * parse.c (parse_module): Do not put namespace into gsymbol on error. 2013-02-02 Thomas Koenig tkoe...@gcc.gnu.org Backport from trunk PR fortran/50627 PR fortran/56054 * gfortran.dg/block_12.f90: New test. * gfortran.dg/module_error_1.f90: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/block_12.f90 branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/module_error_1.f90 Modified: branches/gcc-4_7-branch/gcc/fortran/ChangeLog branches/gcc-4_7-branch/gcc/fortran/decl.c branches/gcc-4_7-branch/gcc/fortran/parse.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog