aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/io.c
diff options
context:
space:
mode:
authorLouis Krupp <louis.krupp@zoho.com>2015-10-26 19:18:08 +0000
committerLouis Krupp <lkrupp@gcc.gnu.org>2015-10-26 19:18:08 +0000
commit388902dab9e4b152931ed7c1b6923a43039b546d (patch)
treef41ac17695569bc67b62d585d4e84326662be4a5 /gcc/fortran/io.c
parent96f3dd0a661a222f0add68a508a1307e3d619157 (diff)
downloadgcc-388902dab9e4b152931ed7c1b6923a43039b546d.zip
gcc-388902dab9e4b152931ed7c1b6923a43039b546d.tar.gz
gcc-388902dab9e4b152931ed7c1b6923a43039b546d.tar.bz2
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
Diffstat (limited to 'gcc/fortran/io.c')
-rw-r--r--gcc/fortran/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/io.c b/gcc/fortran/io.c
index e5d68fb..dbd02b3 100644
--- a/gcc/fortran/io.c
+++ b/gcc/fortran/io.c
@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see
gfc_st_label
format_asterisk = {0, NULL, NULL, -1, ST_LABEL_FORMAT, ST_LABEL_FORMAT, NULL,
- 0, {NULL, NULL}};
+ 0, {NULL, NULL}, NULL};
typedef struct
{