PR fortran/18518
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2005 21:46:14 +0000 (21:46 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2005 21:46:14 +0000 (21:46 +0000)
commit747611a863431380133404bfe65dcd7fd91a3d12
treec3973b2ad4259e5ebeaafcea074d679fc6155edd
parent6d03809a5c7305226b48fd601d7f197586f73be2
PR fortran/18518
* trans-common.c (build_equiv_decl): Add IS_SAVED argument.
If it is true, set TREE_STATIC on the decl.
(create_common): If any symbol in equivalence has SAVE attribute,
pass true as last argument to build_equiv_decl.

* gfortran.fortran-torture/execute/save_2.f90: New decl.

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