This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/22304] gfortran silently changes values in equilvanence'd variables


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]