re PR fortran/66056 (ICEs and endless compilation for lonely labels/numbers in type)
authorLouis Krupp <louis.krupp@zoho.com>
Mon, 26 Oct 2015 19:18:08 +0000 (19:18 +0000)
committerLouis Krupp <lkrupp@gcc.gnu.org>
Mon, 26 Oct 2015 19:18:08 +0000 (19:18 +0000)
commit388902dab9e4b152931ed7c1b6923a43039b546d
treef41ac17695569bc67b62d585d4e84326662be4a5
parent96f3dd0a661a222f0add68a508a1307e3d619157
re PR fortran/66056 (ICEs and endless compilation for lonely labels/numbers in type)

2015-10-26  Louis Krupp  <louis.krupp@zoho.com>

PR fortran/66056
* fortran.h: Include namespace pointer in statement label
structure.
* symbol.c (gfc_get_st_label): Store pointer to namespace
that owns the statement label tree in each label.
(gfc_free_st_label): Use namespace owning statement label
tree when deleting statement label.
* io.c: Initialize format_asterisk with NULL namespace pointer.

2015-10-26  Louis Krupp  <louis.krupp@zoho.com>

PR fortran/66056
* gfortran.dg/empty_label_typedecl.f90: New test

From-SVN: r229390
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/io.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/empty_label_typedecl.f90 [new file with mode: 0644]