[Bug fortran/18737] ICE on invalid use of external keyword
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 1 12:15:00 GMT 2005
------- Comment #7 from pault at gcc dot gnu dot org 2005-11-01 12:15 -------
Subject: Bug 18737
Author: pault
Date: Tue Nov 1 12:15:07 2005
New Revision: 106326
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106326
Log:
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.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/external_implicit_none.f90
branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/namelist_blockdata.f
branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/secnds.f
Modified:
branches/gcc-4_0-branch/gcc/fortran/ChangeLog
branches/gcc-4_0-branch/gcc/fortran/check.c
branches/gcc-4_0-branch/gcc/fortran/gfortran.h
branches/gcc-4_0-branch/gcc/fortran/intrinsic.c
branches/gcc-4_0-branch/gcc/fortran/intrinsic.h
branches/gcc-4_0-branch/gcc/fortran/intrinsic.texi
branches/gcc-4_0-branch/gcc/fortran/iresolve.c
branches/gcc-4_0-branch/gcc/fortran/resolve.c
branches/gcc-4_0-branch/gcc/fortran/symbol.c
branches/gcc-4_0-branch/gcc/fortran/trans-intrinsic.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
branches/gcc-4_0-branch/libgfortran/ChangeLog
branches/gcc-4_0-branch/libgfortran/intrinsics/date_and_time.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18737
More information about the Gcc-bugs
mailing list