re PR fortran/65542 (SPREAD intrinsic incorrectly accepted in initialization expressi...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 12 Feb 2017 16:10:22 +0000 (16:10 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 12 Feb 2017 16:10:22 +0000 (16:10 +0000)
commit4bb91707a857eebd6b9357da7fabcec87a942340
tree88035cf4c2b5a23c7b58223152ddcf7032fd5e6a
parentab874efd6bc48a36b79d5d054da943b31680a6f4
re PR fortran/65542 (SPREAD intrinsic incorrectly accepted in initialization expressions with -std=f95)

2017-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/65542
* intrinsic.c (gfc_intrinsic_func_interface):  Return an error
for -std=f95 for disallowed transformational functions in
initialization expressions.

2017-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/65542
* gfortran.dg/spread_init_expr_2.f90:  New test case.

From-SVN: r245376
gcc/fortran/ChangeLog
gcc/fortran/intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/spread_init_expr_2.f90 [new file with mode: 0644]