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/25395] equivalence to common block array broken



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


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