https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87233
--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Mon Aug 5 00:47:41 2019 New Revision: 274104 URL: https://gcc.gnu.org/viewcvs?rev=274104&root=gcc&view=rev Log: 2019-08-04 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from trunk 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'. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/initialization_30.f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/expr.c branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/testsuite/gfortran.dg/initialization_14.f90