[Bug fortran/33015] New: F66/Vendor extension: Implement support for DATA jhlf/'f'/
burnus at gcc dot gnu dot org
Tue Aug 7 19:45:00 GMT 2007
Possible extension to be added is the support of:
Which is interpreted as follows (thanks to Steve Lionel of Intel):
| The character literals are blank-padded on the right to the length of the
| corresponding variables (or truncated as necessary) and then the ASCII
| equivalent is assigned. So what you have here could be replaced by:
| data jhlf,jhlg /Z'20202066',Z'20202067'/
| or use transfer('f ',jhlf), etc.
| Effectively, this is the old F66 Hollerith constant style of
Found in Cowan's rcn program, which started in 1961.
I don't feel strong about it, but it would make life easier for such old
Actually, ifort also supports:
integer :: jhlf
jhlf = 'f'
Such a character -> integer/real/complex conversion would be something for
Summary: F66/Vendor extension: Implement support for DATA
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
More information about the Gcc-bugs