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 fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054

--- Comment #6 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=gcc&view=rev&rev=195687
Log:
2013-02-02  Thomas Koenig  <tkoenig@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  <tkoenig@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


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