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 05:09:36 -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 05:09 -------
Created an attachment (id=9212)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9212&action=view)
minimal test case
The bug persists in gcc version 4.1.0 20050702 (experimental)
If I replace:
EQUIVALENCE(K(1),I),(J,K(2))
with
EQUIVALENCE(I,K(1)),(J,K(2))
or
EQUIVALENCE(K(1),I),(K(2),J)
the code does not demonstrate this problem.
Thank you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22304