re PR fortran/70870 (Segmentation violation in gfc_assign_data_value)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 10 May 2018 22:43:00 +0000 (22:43 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 10 May 2018 22:43:00 +0000 (22:43 +0000)
commit7b24db31a41695cfd4adcee73f5edd73ae001517
tree1a21c3b863bc802042c52c160243d7f27d3d7f5c
parentb0aed64bdef6a581650576edbfbb6e6721cc9a9a
re PR fortran/70870 (Segmentation violation in gfc_assign_data_value)

2018-05-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/70870
* data.c (gfc_assign_data_value): Check that a data object does
not also have default initialization.

2018-05-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/70870
* gfortran.dg/pr70870_1.f90: New test.

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