OSDN Git Service

PR fortran/28415
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Oct 2006 07:23:00 +0000 (07:23 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Oct 2006 07:23:00 +0000 (07:23 +0000)
commita3f2c0e135878a1619eaa1be28651e3bbb137083
tree4f3f98ab5ff53c47eb6353b659892f5defacd38d
parent69d99d085568526b5d4e42768743af57ac4cbf96
PR fortran/28415
* trans-decl.c (gfc_finish_var_decl): With -fno-automatic, don't
make artificial variables or pointer to variable automatic array
TREE_STATIC.

* gfortran.dg/save_2.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117482 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/save_2.f90 [new file with mode: 0644]