]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/libgfortran.h
re PR fortran/40571 (F2008: ISO_FORTRAN_ENV: Missing constants)
authorTobias Burnus <burnus@net-b.de>
Fri, 24 Sep 2010 05:42:03 +0000 (07:42 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 24 Sep 2010 05:42:03 +0000 (07:42 +0200)
commitbe1f1ed97b2e41073dc1775d6f13e7597eb22664
tree7fc5f24d161e97648b35a60ab0f7dcfe64b15cf2
parent2b3a48378862f67ffea656516857c1517dae7658
re PR fortran/40571 (F2008: ISO_FORTRAN_ENV: Missing constants)

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.

From-SVN: r164581
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/intrinsic.texi
gcc/fortran/iso-fortran-env.def
gcc/fortran/libgfortran.h
gcc/fortran/module.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/iso_fortran_env_7.f90 [new file with mode: 0644]