equivalence croakage

Dominique Dhumieres dominiq@lps.ens.fr
Mon Nov 2 12:30:00 GMT 2009


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



More information about the Fortran mailing list