This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: equivalence croakage
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Date: Mon, 02 Nov 2009 13:30:18 +0100
- Subject: 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