re PR fortran/86059 (ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others))
authorSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 8 Jun 2018 19:11:21 +0000 (19:11 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 8 Jun 2018 19:11:21 +0000 (19:11 +0000)
commit2f2fc3252c04fbd51de8d0ff95bb85e2049f0887
tree1bcc3e02bc3628d9a177e34a3a38fce7f3adbab0
parent5954faa7c22d550ec57e9a40e5a738630be07b0f
re PR fortran/86059 (ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others))

2018-06-08  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/86059
* array.c (match_array_cons_element): NULL() cannot be in an
array constructor.

2018-06-08  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/86059
* gfortran.dg/associate_30.f90: Remove code tested ...
* gfortran.dg/pr67803.f90: Ditto.
* gfortran.dg/pr67805.f90: Ditto.
* gfortran.dg/pr86059.f90: ... here.  New test.

From-SVN: r261344
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associate_30.f90
gcc/testsuite/gfortran.dg/pr67803.f90
gcc/testsuite/gfortran.dg/pr67805.f90
gcc/testsuite/gfortran.dg/pr86059.f90 [new file with mode: 0644]