re PR fortran/78278 (ICE in gfc_wide_memset, at fortran/scanner.c:153)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 9 Jun 2018 15:39:29 +0000 (15:39 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 9 Jun 2018 15:39:29 +0000 (15:39 +0000)
commit4ea0af1da0cfa9c55e739808d4b405b982985ad5
tree2da10bd03ed520cc2fdf26e97e9d585882077a1b
parent598dc594fa743db13fae4a884e33079a06de07e2
re PR fortran/78278 (ICE in gfc_wide_memset, at fortran/scanner.c:153)

2018-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78278
* data.c (gfc_assign_data_value): Re-arrange code to allow for
an error for double initialization of CHARACTER entities.

2018-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78278
* gfortran.dg/data_bounds_1.f90: Add -std=gnu option.
* gfortran.dg/data_char_1.f90: Ditto.
* gfortran.dg/pr78571.f90: Ditto.
* gfortran.dg/pr78278.f90: New test.

From-SVN: r261361
gcc/fortran/ChangeLog
gcc/fortran/data.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/data_bounds_1.f90
gcc/testsuite/gfortran.dg/data_char_1.f90
gcc/testsuite/gfortran.dg/pr78278.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr78571.f90