------- Comment #8 from pault at gcc dot gnu dot org 2009-04-06 05:26 ------- Subject: Bug 36091
Author: pault Date: Mon Apr 6 05:25:46 2009 New Revision: 145581 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145581 Log: 2009-04-06 Paul Thomas <pa...@gcc.gnu.org> PR fortran/36091 * trans-array.c (gfc_conv_array_ref): If the symbol has the temporary attribute use the array_spec for the bounds. * gfortran.h : Add the temporary field to the structure 'symbol_attribute'. * trans-stmt.c (forall_make_variable_temp): Set the symbol's temporary attribute. 2009-04-06 Paul Thomas <pa...@gcc.gnu.org PR fortran/36091 * gfortran.dg/forall_13.f90: Add -fbounds-check option. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/forall_13.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36091