[Bug fortran/45308] [F2003] DATE_AND_TIME does _not_ black-pad strings
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 17 13:24:00 GMT 2010
------- Comment #3 from burnus at gcc dot gnu dot org 2010-08-17 13:23 -------
(Add lost mid-air collision text)
As Clive Page notes in c.l.f, the non-padding is required for F95 while the
padding is required in F2003 - though, I would not care for the F95 version and
always pad.
(F95, 13.14.27: "DATE [...] Its leftmost 8 characters are assigned a value of
the form CCYYMMDD [...] If there is no date available, they are assigned
blanks.")
(F2003 -- and F2008, 13.7.44: "DATE [...] It is assigned a value of the form
CCYYMMDD, [...] If there is no date available, DATE is assigned all blanks.")
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45308
More information about the Gcc-bugs
mailing list