This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18518] equivalenced variables are not saved
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2004 15:17:54 -0000
- Subject: [Bug fortran/18518] equivalenced variables are not saved
- References: <20041116103451.18518.Thomas.Koenig@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2004-11-30 15:17 -------
Verified.
Indeed, we forget that variables in an equivalence set are SAVEd, and therefore
don't save the equivalence set.
I tried adding a path to build_equiv_decl where TREE_STATIC is set even if
there's no initialization. UNfortunately that lead to a segfault in the compiler.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-11-30 15:17:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18518