r118998 - in /trunk/gcc: fortran/ChangeLog fort...
fxcoudert@gcc.gnu.org
fxcoudert@gcc.gnu.org
Sun Nov 19 21:18:00 GMT 2006
Author: fxcoudert
Date: Sun Nov 19 21:18:26 2006
New Revision: 118998
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118998
Log:
* module.c (gfc_use_module): Uncomment the ISO_FORTRAN_ENV code.
Check that intrinsic and non-intrinsic modules don't conflict.
(use_iso_fortran_env_module): New function.
(create_int_parameter): New function.
* trans-types.c (gfc_init_kinds): Choose values for
gfc_numeric_storage_size and gfc_character_storage_size.
(gfc_numeric_storage_size, gfc_character_storage_size): New variables.
* resolve.c (resolve_symbol): Do no check intrinsic modules
against the list of intrinsic symbols.
* iso-fortran-env.def: New file.
* gfortran.h (gfc_numeric_storage_size,
gfc_character_storage_size): Add prototypes.
* gfortran.dg/use_3.f90: Remove error message.
* gfortran.dg/iso_fortran_env_1.f90: New test.
* gfortran.dg/iso_fortran_env_2.f90: New test.
* gfortran.dg/iso_fortran_env_3.f90: New test.
* gfortran.dg/iso_fortran_env_4.f90: New test.
Added:
trunk/gcc/fortran/iso-fortran-env.def
trunk/gcc/testsuite/gfortran.dg/iso_fortran_env_1.f90
trunk/gcc/testsuite/gfortran.dg/iso_fortran_env_2.f90
trunk/gcc/testsuite/gfortran.dg/iso_fortran_env_3.f90
trunk/gcc/testsuite/gfortran.dg/iso_fortran_env_4.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/module.c
trunk/gcc/fortran/resolve.c
trunk/gcc/fortran/trans-types.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/use_3.f90
More information about the Gcc-cvs
mailing list