http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207
--- Comment #14 from janus at gcc dot gnu.org --- Author: janus Date: Sat Mar 15 10:53:04 2014 New Revision: 208590 URL: http://gcc.gnu.org/viewcvs?rev=208590&root=gcc&view=rev Log: 2014-03-15 Janus Weil <ja...@gcc.gnu.org> PR fortran/55207 * decl.c (match_attr_spec): Variables in the main program implicitly get the SAVE attribute in Fortran 2008. 2014-03-15 Janus Weil <ja...@gcc.gnu.org> PR fortran/55207 * gfortran.dg/assumed_rank_7.f90: Explicitly deallocate variables. * gfortran.dg/c_ptr_tests_16.f90: Put into subroutine. * gfortran.dg/inline_sum_bounds_check_1.f90: Add -Wno-aggressive-loop-optimizations and remove an unused variable. * gfortran.dg/intent_optimize_1.f90: Put into subroutine. * gfortran.dg/pointer_init_9.f90: New. * gfortran.dg/volatile4.f90: Put into subroutine. * gfortran.dg/volatile6.f90: Ditto. Added: trunk/gcc/testsuite/gfortran.dg/pointer_init_9.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/assumed_rank_7.f90 trunk/gcc/testsuite/gfortran.dg/c_ptr_tests_16.f90 trunk/gcc/testsuite/gfortran.dg/inline_sum_bounds_check_1.f90 trunk/gcc/testsuite/gfortran.dg/intent_optimize_1.f90 trunk/gcc/testsuite/gfortran.dg/volatile4.f90 trunk/gcc/testsuite/gfortran.dg/volatile6.f90