OSDN Git Service

2005-11-01 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Nov 2005 05:53:29 +0000 (05:53 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Nov 2005 05:53:29 +0000 (05:53 +0000)
commit1038783304983d4f79b0df3e70088cc7edbb3371
treef43ca2a90a1161ac81c75432afec4935809322c3
parente6b44515b3b11e0b021dfa4f46500f43f114f077
2005-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/21565
* symbol.c (check_conflict): An object cannot be in a namelist and in
block data.

PR fortran/18737
* resolve.c (resolve_symbol): Set the error flag to
gfc_set_default_type, in the case of an external symbol, so that
an error message is emitted if IMPLICIT NONE is set.

PR fortran/14994
* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SECNDS to enum.
* check.c (gfc_check_secnds): New function.
* intrinsic.c (add_functions): Add call to secnds.
* iresolve.c (gfc_resolve_secnds): New function.
* trans-intrinsic (gfc_conv_intrinsic_function): Add call to
secnds via case GFC_ISYM_SECNDS.
* intrinsic.texi: Add documentation for secnds.

2005-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/14994
* libgfortran/intrinsics/date_and_time.c: Add interface to
the functions date_and_time for the intrinsic function secnds.

2005-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/21565
gfortran.dg/namelist_blockdata.f90: New test.

PR fortran/18737
gfortran.dg/external_implicit_none.f90: New test.

PR fortran/14994
* gfortran.dg/secnds.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106317 138bc75d-0d04-0410-961f-82ee72b054a4
16 files changed:
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/gfortran.h
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/fortran/intrinsic.texi
gcc/fortran/iresolve.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/external_implicit_none.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/namelist_blockdata.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/secnds.f [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/intrinsics/date_and_time.c