This is the mail archive of the gcc-cvs@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]

r242058 - in /trunk/gcc: fortran/ChangeLog fort...


Author: foreese
Date: Thu Nov 10 21:57:13 2016
New Revision: 242058

URL: https://gcc.gnu.org/viewcvs?rev=242058&root=gcc&view=rev
Log:
Fix ICE and improve errors for invalid anonymous structure declarations.

	PR fortran/78277
	* gcc/fortran/decl.c (gfc_match_data_decl): Gracefully handle bad
	anonymous structure declarations.

	PR fortran/78277
	* gcc/testsuite/gfortran.dg/dec_structure_17.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/dec_structure_17.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog


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