re PR fortran/87233 (Constraint C1279 still followed after f2008 standard revision...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 14 Jul 2019 22:52:58 +0000 (22:52 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 14 Jul 2019 22:52:58 +0000 (22:52 +0000)
commit1b034a958d4255f1cf57463655b9c74ec1e329bb
treef8fb10ad522b358bed6b32e200069c3a57d816db
parentc5e02838afa5a79091dc22b480951fc5effb42e6
re PR fortran/87233 (Constraint C1279 still followed after f2008 standard revision (?))

2019-07-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/87233
* expr.c (check_restricted): Relax constraint C1279 which was
removed from F2008 and above.

* gfortran.dg/initialization_14.f90: Modify to now pass by
removing two dg-error commands. Added comments.
* gfortran.dg/initialization_30.f90: New test that includes the
two tests removed above with the 'dg-options -std=f95'.

From-SVN: r273484
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/initialization_14.f90
gcc/testsuite/gfortran.dg/initialization_30.f90 [new file with mode: 0644]