[PATCH] more g77 runtime library functions for gfortran
Paul Brook
paul@codesourcery.com
Sat Aug 28 23:50:00 GMT 2004
On Saturday 28 August 2004 22:46, Steve Kargl wrote:
> The attached files update this patch set to include the additions
> of erf, derf, erfc, derfc, getpid, getgid, and getuid. Bootstrap
> and regression tested. No new failures are caused by this patch.
> Here's updated ChangeLogs.
I applied the get?id bits of your patch, after fixing a couple of bugs.
They were broken with -i8, and I also cleaned up bits of the
checking/simplification/resolution code for intrinsics with no arguments.
I'll get back to you on the math functions.
Paul
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-diff
Size: 42009 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20040828/7751c12e/attachment.bin>
More information about the Fortran
mailing list