]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/array.cc
re PR fortran/69514 (ICE with nested array constructor)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 8 Sep 2016 22:33:10 +0000 (22:33 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 8 Sep 2016 22:33:10 +0000 (22:33 +0000)
commit2cf0ff9806714eacef91f759b3c7422a4491e695
tree6c5ce11b8f25d62eea31762763a992aed00e4ed6
parent20b6cf0194331045a8afa61ebf6432bb18f1ae87
re PR fortran/69514 (ICE with nested array constructor)

2016-09-08  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/69514
* array.c (gfc_match_array_constructor):  If type-spec is present,
walk the array constructor performing possible conversions for
numeric types.

2016-09-08  Steven G. Kargl  <kargl@gcc.gnu.org>
    Louis Krupp      <lkrupp@gcc.gnu.org>

PR fortran/69514
* gfortran.dg/pr69514_1.f90: New test.
* gfortran.dg/pr69514_2.f90: New test.

Co-Authored-By: Louis Krupp <lkrupp@gcc.gnu.org>
From-SVN: r240039
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr69514_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr69514_2.f90 [new file with mode: 0644]