re PR fortran/88073 (Internal compiler error compiling WHERE construct with -O or...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 18 Nov 2018 17:40:23 +0000 (17:40 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 18 Nov 2018 17:40:23 +0000 (17:40 +0000)
commitcb40e8071e0fa1a86183f6b97ebeb3355e5e1722
tree7cfa4a20ea36125deebad2639846e827a9bebc71
parent9515381d1cf44d4c897ac0aeee89d555d82fdd7f
re PR fortran/88073 (Internal compiler error  compiling WHERE construct with -O or -O2)

2018-11-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/88073
* frontend-passes.c (combine_array_constructor): Do not do
anything if in a WHERE statement.

2018-11-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/88073
* gfortran.dg/where_7.f90: New test.

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