]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/iresolve.c
intrinsic.c (add_subroutines): Add getenv and get_environment_variable.
authorJanne Blomqvist <jblomqvi@cc.hut.fi>
Fri, 6 Aug 2004 21:47:03 +0000 (00:47 +0300)
committerPaul Brook <pbrook@gcc.gnu.org>
Fri, 6 Aug 2004 21:47:03 +0000 (21:47 +0000)
commitaa6fc6350836d2dd03becd67b61dcd86eb8f9087
treec74733622978a45c69d005d29049be3d1ac7b4da
parentc7d78bbe0e447685dacd1063f28da8c0c50c289f
intrinsic.c (add_subroutines): Add getenv and get_environment_variable.

2004-08-06  Janne Blomqvist  <jblomqvi@cc.hut.fi>

* intrinsic.c (add_subroutines): Add getenv and
get_environment_variable. (add_sym_5s): New function.
* intrinsic.h (gfc_resolve_get_environment_variable): Add
prototype.
* iresolve.c (gfc_resolve_get_environment_variable): New
function.
libgfortran/
* intrinsics/env.c: New file.
* Makefile.am: Add env.c to build.
* Makefile.in: Regenerate.
testsuite/
* gfortran.dg/getenv_1.f90: New test.

From-SVN: r85656
gcc/fortran/ChangeLog
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/fortran/iresolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/getenv_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/intrinsics/env.c [new file with mode: 0644]
This page took 0.051493 seconds and 5 git commands to generate.