[PATCH] Change date_and_time for F03+ (PR fortran/45308)
Tobias Burnus
burnus@net-b.de
Tue Aug 17 17:27:00 GMT 2010
On 08/17/2010 07:21 PM, Jakub Jelinek wrote:
> As reported in the PR, F03 changed date_and_time incompatibly
For completeness, Richard Maine* does not agree with my reading of
Fortran 90/95 and claims that it is undefined in Fortran 90/95. But even
if it were more explicitly defined as keeping the old value, I do not
think that any program relies on it.
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
OK. Thanks for the patch!
Tobias
(* Cf. c.l.f [link in the PR]; Richard Maine was the editor of the
Fortran 2003 standard and several years in the J3 standard committee.)
> 2010-08-17 Jakub Jelinek<jakub@redhat.com>
>
> PR fortran/45308
> * intrinsics/date_and_time.c (date_and_time): Pass __{zone,time,date}_len
> instead of {ZONE,TIME,DATE}_LEN as second argument to fstrcpy. Drop
> asserts. Adjust comment to the F2003 wording from the F95 wording.
More information about the Fortran
mailing list