[Bug 40571] (fortran) F2008: ISO_FORTRAN_ENV: Missing constants

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 24 05:47:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40571

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-09-24 05:42:10 UTC ---
Author: burnus
Date: Fri Sep 24 05:42:03 2010
New Revision: 164581

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164581
Log:
2010-09-24  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40571
        * iso-fortran-env.def: Add NAMED_KINDARRAY with
        character_kinds, integer_kinds, logical_kinds and
        real_kinds.
        * gfortran.h: Add them to iso_fortran_env_symbol.
        * libgfortran.h: Rename GFC_INQUIRE_INTERNAL_UNIT to
        LIBERROR_INQUIRE_INTERNAL_UNIT and move it from
        libgfortran_stat_codes to libgfortran_error_codes.
        * module.c (create_int_parameter_array): New function.
        (use_iso_fortran_env_module): Use it for
        NAMED_KINDARRAY of iso-fortran-env.def.
        * trans-decl.c (gfc_get_symbol_decl): Parameter
        arrays of intrinsics modules become local static variables.
        * intrinsic.texi (ISO_FORTRAN_ENV): Add character_kinds,
        integer_kinds, logical_kinds and real_kinds.

2010-09-24  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40571
        * gfortran.dg/iso_fortran_env_7.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/iso_fortran_env_7.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/intrinsic.texi
    trunk/gcc/fortran/iso-fortran-env.def
    trunk/gcc/fortran/libgfortran.h
    trunk/gcc/fortran/module.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Gcc-bugs mailing list