Adding UNION/MAP -- Feedback and tips pls!
Toon Moene
toon@moene.org
Sat Mar 2 19:52:00 GMT 2013
On 03/02/2013 04:19 PM, N.M. Maclaren wrote:
> There are good reasons for Fortran not standardising unions and going
> for CLASS(*) - unchecked unions are incompatible with strong typing.
> My vague recollection is that DEC UNION is unchecked, and it certainly
> allows the preservation of overlaid data, which is equally horrible.
I agree. If we allow UNION/MAP, it should be behind a compile time
option like the one for CRAY pointers; its rationale being to help
people to move from the vendor specific extension to standard Fortran.
Kind regards,
--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news
More information about the Fortran
mailing list