This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/22304] gfortran silently changes values in equilvanence'd variables
- From: "albertm at uphs dot upenn dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2005 16:59:49 -0000
- Subject: [Bug fortran/22304] gfortran silently changes values in equilvanence'd variables
- References: <20050705050725.22304.albertm@uphs.upenn.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From albertm at uphs dot upenn dot edu 2005-07-06 16:59 -------
(In reply to comment #2)
First, thank you for taking an interest in this issue.
Secondly, if I may speculate, it seems to me that there is a problem
in how gfc_equiv structures are marked as "used" in trans-common.c
As an expriment, if in gfc_trans_common I commented-out finish_equivalences,
then the example "bug.f" (see attachment above) produces the expected
output. This is clearly not a solution, but might be a hint at the problem.
Thank you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22304