re PR fortran/82620 ([PDT] ICE: free_expr0(): Bad expr type (at fortran/expr.c:497))
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 28 Oct 2017 01:06:18 +0000 (01:06 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 28 Oct 2017 01:06:18 +0000 (01:06 +0000)
commitfdfcd5ecc51dc8e7252af21115f10946d490c55b
tree237c1bd102c7522c65d13241c0a49740d872cf01
parent615c85eefa5ff5fac493f424ddea77d51ad814d8
re PR fortran/82620 ([PDT] ICE: free_expr0(): Bad expr type (at fortran/expr.c:497))

2017-10-27  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82620
* match.c (gfc_match_allocate): Exit early on syntax error.

2017-10-27  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82620
* gfortran.dg/allocate_error_7.f90: new test.

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