OSDN Git Service

PR fortran/45308
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Aug 2010 18:08:05 +0000 (18:08 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Aug 2010 18:08:05 +0000 (18:08 +0000)
commit49c0e9db11d373d5fbebda75bb97195a79c3221a
treea116d1b19f474b35987ce4e962e78b89ef101e20
parent571704e8bb252ccf2ad0464facc1fc09652ae4d6
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.

* gfortran.dg/pr45308.f03: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163312 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr45308.f03 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/intrinsics/date_and_time.c