This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gfortran] implementation of G77's getcwd


The attached patches and file implement G77's
getcwd intrinsic subroutine and function.

*  2004-09-03  Steven G. Kargl  <kargls@comcast.net>

            * intrincics/getcwd.c: New file.
            * Makefile.am: Add getcwd.c.
            * Makefile.in: Regenerated.

* 2004-09-03  Steven G. Kargl  <kargls@comcast.net>

           * check.c (gfc_check_getcwd_sub): New function.
           * gfortran.h (GFC_ISYM_GETCWD): New symbol.
           * intrinsic.c (add_functions): Add function definition;
             Use symbol.
           * intrinsic.c (add_subroutines): Add subroutine definitions.
           * intrinsic.h: Add prototypes.
           * iresolve.c (gfc_resolve_getcwd, gfc_resolve_getcwd_sub):
             New functions.
           * trans-intrinsic.c (gfc_conv_intrinsic_function): Use symbol.
-- 
Steve

Attachment: getcwd.c
Description: Text document

Attachment: libgfortran.diff
Description: Text document

Attachment: fortran.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]