]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR fortran/66385 (ICE: FORALL writing multiple elements of one array)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 18 Oct 2015 11:29:37 +0000 (11:29 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 18 Oct 2015 11:29:37 +0000 (11:29 +0000)
commit718de9bb4f8fabec5b65234af4cc78a2566d093a
tree3f80a7145769eaca991f617dfa88b6434b99eb48
parentb5522a17bbd1a1699fd8c1c9f4bde16c93501ebc
backport: re PR fortran/66385 (ICE: FORALL writing multiple elements of one array)

2015-10-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/66385
* frontend-passes.c (combine_array_constructor): Return early if
inside a FORALL loop.

2015-10-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/66385
* gfortran.dg/forall_17.f90:  New test.

From-SVN: r228943
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/forall_17.f90 [new file with mode: 0644]