This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: equivalence croakage


With the code in http://gcc.gnu.org/ml/fortran/2009-11/msg00011.html
gfortran 4.2.4 gives

equiv_bad.f90:7.61:

    EQUIVALENCE                      (CSTORE(1),XSTORE,ISTORE)
                                                            1
Error: Initialized objects 'cstore' and 'istore' cannot both be in the EQUIVALENCE statement at (1)

which is much better than what I get with gfortran 4.3.4, 4.4.2, and trunk:

<During initialization>

Error: Overlapping unequal initializers in EQUIVALENCE at (1)

Dominique


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