This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25395] equivalence to common block array broken
- From: "paul dot richard dot thomas at cea dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2006 15:25:24 -0000
- Subject: [Bug fortran/25395] equivalence to common block array broken
- References: <bug-25395-8520@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from paul dot richard dot thomas at cea dot fr 2006-02-20 15:25 -------
(In reply to comment #1)
> Confirmed, I think Paul Thomas is looking into this.
Yes, I got sidetracked into it!
Something is awry with the adding of variables to an equivalence segment in
anything other than order of increasing offset. Knowing this, I found that
this is broken:
dimension mwkx(80)
dimension listpr(20),lisbit(10),lispat(8)
equivalence (listpr(10),lispat(1))
+, (mwkx(10),listpr(10),lisbit(1))
I keep thinking that this is something obvious but it is proving to be elusive.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25395