re PR fortran/54730 (ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1066)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 23 Oct 2016 18:12:28 +0000 (18:12 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 23 Oct 2016 18:12:28 +0000 (18:12 +0000)
commit87c9fca50cbe7ca997fa4aaa70f5aa44d9e5db79
treed047cbbb70ee6dfd0c528751dfc9446fd5e07cb8
parentdfd6231ea3621d57a2bf75f675fc8931ce5dec28
re PR fortran/54730 (ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1066)

2016-10-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/54730
PR fortran/78033
* array.c (gfc_match_array_constructor): Remove checkpointing
introduced in r196416 (original fix for PR fortran/54730).  Move
initialization to top of function.
* match.c (gfc_match_type_spec): Special case matching for REAL.

2016-10-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/54730
PR fortran/78033
* gfortran.dg/pr78033.f90: New test.

From-SVN: r241451
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr78033.f90 [new file with mode: 0644]