Patch to gfortran/13742 (was: equivalence, common and initialization)
Victor Leikehman
lei@haifasphere.co.il
Sun May 16 10:48:00 GMT 2004
Fortran/13742 ("Initial values for COMMON or EQUIVALENCE") combines two
defects:
(1) Initializing variables inside COMMON block is forbidden and
should be rejected, unless (a) COMMON block is named and (b) the
initialization is inside BLOCK DATA programming unit.
and,
(2) Initializing variables inside EQUIVALENCE is allowed and
should be supported.
Now, after Tobi's fix to (1) have been integrated, I resubmit
my fix to (2).
Victor
--
Victor Leikehman
IBM Research Labs in Haifa, Israel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch13742_repost.dif
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20040516/3e11c5cc/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gaborRoutines.f90
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20040516/3e11c5cc/attachment.f90>
More information about the Fortran
mailing list