gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_GET?ID.
authorSteven G. Kargl <kargls@comcast.net>
Sat, 28 Aug 2004 23:43:41 +0000 (23:43 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Sat, 28 Aug 2004 23:43:41 +0000 (23:43 +0000)
commit4c0c6b9f2c9aa728cae2d2af6f48344008fbe1cd
tree508b51de46c1dce0eefec004809cf1886455dcad
parente5a002e3537c91307b395d94b9292ce735d5d1c1
gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_GET?ID.

2004-08-29  Steven G. Kargl  <kargls@comcast.net>
Paul Brook  <paul@codesourcery.com>

* gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_GET?ID.
(gfc_check_f, gfc_simplify_f): Add f0.
* intrinsic.c (do_check): Call f0.  Flatten.
(add_sym_0): Fix prototype.  Set f0.
(add_functions): Add getgid, getgid and getuid.
(resolve_intrinsic): Remove obsolete comment.
(do_simplify): Call f0.
* intrinsic.h (gfc_resolve_getgid, gfc_resolve_getpid,
gfc_resolve_getuid): Add prototypes.
* iresolve.c (gfc_resolve_getgid, gfc_resolve_getpid,
gfc_resolve_getuid): New functions.
* trans-intrinsic.c (gfc_conv_intrinsic_function): Handle
GFC_ISYM_GET?ID.
libgfortran/
* Makefile.am: Add intrinsics/getXid.c.
* configure.ac: Add tests for get{g,p,u}id.
* config.h.in: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.

Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r86703
13 files changed:
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/fortran/iresolve.c
gcc/fortran/trans-intrinsic.c
libgfortran/ChangeLog
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/config.h.in
libgfortran/configure
libgfortran/configure.ac
libgfortran/intrinsics/getXid.c [new file with mode: 0644]