]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR fortran/69544 (Internal compiler error with -Wall and where)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 6 Nov 2016 20:30:31 +0000 (20:30 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 6 Nov 2016 20:30:31 +0000 (20:30 +0000)
commit3ba41008c0fad8226d4bc5fd8bf83769792a0b6d
treec2420e76acaa3b6118ea53ac6164a838899309d8
parentde587208a68757526010ae510df370ea8cadf5a3
backport: re PR fortran/69544 (Internal compiler error with -Wall and where)

2016-11-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/69544
PR fortran/78178
* gfortran.dg/where_5.f90:  New test.
* gfortran.dg/where_6.f90:  New test.

2016-11-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/69544
PR fortran/78178
* match.c (match_simple_where):  Fill in locus for assigment
in simple WHERE statement.
(gfc_match_where):  Likewise.

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