re PR fortran/88155 (ICE in gfc_format_decoder, at fortran/error.c:947)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 12 Dec 2018 00:53:08 +0000 (00:53 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 12 Dec 2018 00:53:08 +0000 (00:53 +0000)
commit2f00fb3d0ba1174dee21c33162a5fdc4e583a061
tree98c1295e1c7a1c4c700f59c22e0955fe9d750858
parent85c223fa128516d2f428f85cb0599d464f9ddc1b
re PR fortran/88155 (ICE in gfc_format_decoder, at fortran/error.c:947)

2018-12-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/88155
* primary.c (gfc_match_structure_constructor):  Set the locus of
an expression to avoid a NULL pointer dereference.

2018-12-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/88155
* gfortran.dg/pr70870_1.f90: Update testcase to use -std=gnu.
* gfortran.dg/pr88155.f90: New test.

From-SVN: r267041
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr70870_1.f90
gcc/testsuite/gfortran.dg/pr88155.f90 [new file with mode: 0644]