decl.c (match_data_constant): Fortran 2018 allows pointer initialization in a data...
commitb6e841a699fe43ddf632dd79e0002dd51c8bf864
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 27 May 2018 17:31:26 +0000 (27 17:31 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 27 May 2018 17:31:26 +0000 (27 17:31 +0000)
tree2bbd87f3ef4495f4647af69248548e2a0674e449
parentf5435230c9eabde57c2c87d046ed98792e896c6f
decl.c (match_data_constant): Fortran 2018 allows pointer initialization in a data statement.

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

 * decl.c (match_data_constant):  Fortran 2018 allows pointer
 initialization in a data statement.

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

 * gfortran.dg/data_stmt_pointer.f90: new test.

From-SVN: r260808
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/data_stmt_pointer.f90 [new file with mode: 0644]