[patch, fortran] Fix PR 69544
Thomas Koenig
tkoenig@netcologne.de
Tue Nov 1 10:58:00 GMT 2016
Hello world,
the attached, rather simple, patch, fixes a regression where
the locus was not set, leading to an ICE on a warning.
Regression-tested on trunk. OK on all affected and open branches
(7/6/5)?
Regards
Thomas
2016-11-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/69544
* match.c (gfc_match_where): Fill in locus for assigment
in simple WHERE statement.
2016-11-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/69544
* gfortran.dg/where_5.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161101/9495e367/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: where_5.f90
Type: text/x-fortran
Size: 347 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161101/9495e367/attachment-0001.bin>
More information about the Fortran
mailing list