summaryrefslogtreecommitdiff
path: root/libgfortran
Commit message (Collapse)AuthorAgeFilesLines
* * io/write.c (write_float, list_formatted_write): Fix indentation.Roger Sayle2004-11-212-57/+60
| | | | From-SVN: r90975
* re PR libfortran/16135 (libfortran doesn't build, use of C99 types)Eric Botcazou2004-11-208-2/+160
| | | | | | | | | | | | | | | | | | | | PR target/16135 * acinclude.m4 (LIBGFOR_TARGET_ILP32): New check. * configure.ac: Include LIBGFOR_TARGET_ILP32. * configure: Regenerate. * config.h.in: Likewise. * libgfortran.h: Provide default definitions for C99 types on ILP32 targets that don't have them. PR target/17999 * configure.ac: Check for snprintf. * configure: Regenerate. * config.h.in: Likewise. * intrinsics/date_and_time.c (date_and_time): Do not use snprinf if it is not available. * io/write.c (output_float): Likewise. From-SVN: r90964
* Really regenerate Makefile.in.Paul Brook2004-11-201-7/+18
| | | | From-SVN: r90950
* check.c (gfc_check_getcwd_sub): Fix seg fault.Steven G. Kargl2004-11-205-13/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | * check.c (gfc_check_getcwd_sub): Fix seg fault. * check.c (gfc_check_exit,gfc_check_umask,gfc_check_umask_sub, gfc_check_unlink,gfc_check_unlink_sub): New functions * gfortran.h (GFC_ISYM_UMASK,GFC_ISYM_UNLINK): New symbols * intrinsic.c (add_functions,add_subroutines): Add umask, unlink, exit to intrinsics symbol tables. * intrinsic.h (gfc_check_umask,gfc_check_unlink,gfc_check_exit, gfc_check_umask_sub,gfc_check_unlink_sub,gfc_resolve_umask, gfc_resolve_unlink,gfc_resolve_exit,gfc_resolve_umask_sub, gfc_resolve_unlink_sub): Add and sort prototypes. * iresolve.c (gfc_resolve_umask,gfc_resolve_unlink,gfc_resolve_exit, gfc_resolve_umask_sub,gfc_resolve_unlink_sub): New functions * trans-intrinsic.c (gfc_conv_intrinsic_function): Use symbols libgfortran/ * Makefile.am: Add intrinsics/{umask.c,unlink.c,exit.c} * Makefile.in: Regenerated * intrinsics/umask.c: New file * intrinsics/unlink.c: ditto * intrinsics/exit.c: ditto From-SVN: r90949
* Modified Files:Victor Leikehman2004-11-188-420/+663
| | | | | | | | | | | | | ChangeLog generated/matmul_c4.c generated/matmul_c8.c generated/matmul_i4.c generated/matmul_i8.c generated/matmul_r4.c generated/matmul_r8.c m4/matmul.m4 2004-11-18 Victor Leikehman <lei@il.ibm.com> * m4/matmul.m4: Loops reordered to improve cache behavior. * generated/matmul_??.c: Regenerated. From-SVN: r90853
* Committed wrong version of previous patch.Paul Brook2004-11-101-1/+1
| | | | From-SVN: r90384
* re PR fortran/18218 (Miscompare in sixtrack benchmark caused by loss of ↵Paul Brook2004-11-105-156/+101
| | | | | | | | | | | | | | | | precision) PR fortran/18218 * configure.ac: Check for strtof. * configure: Regenerate. * config.h.in: Regenerate. * io/read.c (convert_real): Use strtof if available. (convert_precision_real): Remove. (read_f): Avoid poor exponentiation algorithm. gcc/testsuite/ * gfortran.dg/list_read.c: New test. From-SVN: r90382
* configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of AC_PROG_F77, F77 and ↵Andreas Schwab2004-11-055-84/+92
| | | | | | | | | | | | FFLAGS. * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of AC_PROG_F77, F77 and FFLAGS. * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use FCCOMPILE instead of F77COMPILE. * configure, Makefile.in: Regenerate. From-SVN: r90122
* acinclude.m4: Properly quote AC_CACHE_CHECK.Kelley Cook2004-11-056-1560/+583
| | | | | | | | | | 2004-11-05 Kelley Cook <kcook@gcc.gnu.org> * acinclude.m4: Properly quote AC_CACHE_CHECK. * Makefile.am: Add in ACLOCAL_AMFLAGS. * aclocal.m4, configure, Makefile.in: Regenerate. From-SVN: r90114
* config.h.in: Regenerate.Aaron W. LaFramboise2004-10-305-6/+52
| | | | | | | | | | | | | | | 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * config.h.in: Regenerate. * configure: Regenerate. * configure.ac (AC_CHECK_FUNCS): Add mkstemp. * io/unix.c (S_IRGRP): Define if undefined. (S_IWGRP): Same. (S_IROTH): Same. (S_IWOTH): Same. (tempfile): Use mktemp if mkstemp missing, fix typos. From-SVN: r89893
* Missing bit of previous patch.Aaron W. LaFramboise2004-10-301-0/+1
| | | | | | | 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * unix.c: Include stdio.h. From-SVN: r89892
* system.c ("libgfortran.h"): Move after system headers.Aaron W. LaFramboise2004-10-302-1/+6
| | | | | | | | 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * intrinsics/system.c ("libgfortran.h"): Move after system headers. From-SVN: r89891
* check.c (gfc_check_rand): Allow missing optional argument.Canqun Yang2004-10-302-1/+9
| | | | | | | | | | | | 2004-10-30 Canqun Yang <canqun@nudt.edu.cn> * check.c (gfc_check_rand): Allow missing optional argument. (gfc_check_irand): Ditto. * intrinsic.c (add_functions): Set arg optional flag for {i,}rand. libgfortran/ * intrinsics/rand.c (irand): Handle NULL argument. From-SVN: r89886
* transfer.c (finalize_transfer): Free internal streams.Paul Brook2004-10-073-1/+11
| | | | | | | * io/transfer.c (finalize_transfer): Free internal streams. * io/unix.c (mem_close): Free stream object. From-SVN: r88709
* string_intrinsics.c (string_verify): Fix off by one error.Paul Brook2004-10-072-3/+7
| | | | | | | | | * intrinsics/string_intrinsics.c (string_verify): Fix off by one error. testsuite/ * gfortran.dg/intrinsic_verify_1.f90: New test. From-SVN: r88704
* re PR libfortran/17709 (NULL I/O list and Format error.)Paul Brook2004-10-062-0/+6
| | | | | | | | | PR libfortran/17709 * io/transfer.c (data_transfer_init): Reset sf_seen_eor. testsuite/ * gfortran.dg/empty_format_1.f90: New test. From-SVN: r88615
* mvbits.c: Commit the file.Andrew Pinski2004-10-042-0/+67
| | | | | | | | 2004-10-04 Andrew Pinski <pinskia@physics.uc.edu> * intrinsics/mvbits.c: Commit the file. From-SVN: r88541
* re PR fortran/17776 (no subroutine system)Tobias Schlüter2004-10-044-5/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | fortran/ PR fortran/17776 * check.c (gfc_check_system_sub): New function. * gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SYSTEM. * intrinsic.c (add_functions): Add 'system'. (add_subroutines): Add 'system'. * intrinsic.h (gfc_check_etime_sub, gfc_check_getcwd_sub): Move prototypes to other suborutines. (gfc_check_system_sub, gfc_resolve_system, gfc_resolve_system_sub): Add prototype. (gfc_resolve_system_clock): Fix formatting of prototype. * iresolve.c (gfc_resolve_system, gfc_resolve_system_sub): New functions. * trans-intrinsic.c (gfc_conv_intrinsic_function): Deal with GFC_ISYM_SYSTEM. libgfortran/ PR fortran/17776 * intrinsics/system.c: New file. * Makefile.am: Add dependency for the new file. * Makefile.in: Regenerate. From-SVN: r88532
* re PR libfortran/17631 (libfortran: intrinsic subroutine MVBITS not implemented)Tobias Schlüter2004-10-043-13/+28
| | | | | | | | | | | | | | | | | | PR fortran/17631 fortran/ * intrinsic.c (add_sym_5): Remove. (add_subroutines): Add resolution function for MVBITS. * intrinsic.h (gfc_resolve_mvbits): Declare resolution function for MVBITS * iresolve.c (gfc_resolve_mvbits): New function. (gfc_resolve_random_number): Remove empty line at end of function. libgfortran/ * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h. * intrinsics/mvbits.h: New file. testsuite/ * gfortran.fortran-torture/execute/intrinsic_mvbits.f90: New test. From-SVN: r88527
* re PR fortran/17283 (UNPACK issues)Tobias Schlüter2004-10-043-14/+290
| | | | | | | | | | | | | | | | | PR fortran/17283 fortran/ * iresolve.c (gfc_resolve_pack): Choose function depending if mask is scalar. libgfortran/ * intrinsics/pack_generic.c (__pack): Allocate memory for return array if not done by caller. (__pack_s): New function. * runtime/memory.c (internal_malloc, internal_malloc64): Allow allocating zero memory. testsuite/ * gfortran.fortran-torture/execute/intrinsic_pack.f90: Add more tests. From-SVN: r88526
* re PR libfortran/17706 (reading a value of 0.0 gives a value of -0.0)Paul Brook2004-10-042-2/+16
| | | | | | | | | | | | | | | | | | 2004-10-04 Paul Brook <paul@codesourcery.com> Bud Davis <bdavis9659@comcast.net> PR fortran/17706 PR fortran/16434 * io/format.c (parse_format_list): Set repeat count for S, SP, SS, BN and BZ formats. * io/write.c (output_float): Don't output minus zero. libgfortran/ * gfortran/pr17706.f90: New test. * gfortran.dg/g77/f77-edit-s-out.f: Remove xfail. Actually apply the patch this time. From-SVN: r88513
* re PR libfortran/17706 (reading a value of 0.0 gives a value of -0.0)Paul Brook2004-10-041-0/+9
| | | | | | | | | | | | | | | | | | 2004-10-04 Paul Brook <paul@codesourcery.com> Bud Davis <bdavis9659@comcast.net> PR fortran/17706 PR fortran/16434 * io/format.c (parse_format_list): Set repeat count for S, SP, SS, BN and BZ formats. * io/write.c (output_float): Don't output minus zero. libgfortran/ * gfortran/pr17706.f90: New test. * gfortran.dg/g77/f77-edit-s-out.f: Remove xfail. Co-Authored-By: Bud Davis <bdavis9659@comcast.net> From-SVN: r88512
* abort.c ("libgfortran.h"): Move.Aaron W. LaFramboise2004-10-034-5/+10
| | | | | | | | | | 2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * intrinsics/abort.c ("libgfortran.h"): Move. * intrinsics/date_and_time.c ("libgfortran.h"): Same. * intrinsics/write.c ("libgfortran.h"): Same. From-SVN: r88444
* re PR libfortran/16137 (Fortran compiler unable to produce executables as ↵Tobias Schlüter2004-09-265-83/+249
| | | | | | | | | | | | libfortran depends on C99 math functions) PR libfortran/16137 * config.h.in (HAVE_POWF): Undefine. * configure.ac: Check for 'powf' in library. * configure: Regenerate. * intrinsics/c99_functions.c (powf): New function. From-SVN: r88128
* * intrinsics/etime.c (etime_): New function.Tobias Schlüter2004-09-242-0/+23
| | | | From-SVN: r88052
* libgfortran.h: define gfc_alloca()Steven G. Kargl2004-09-213-4/+13
| | | | | | | | | 2004-09-21 Steven G. Kargl <kargls@comcast.net> * libgfortran.h: define gfc_alloca() * intrinsics/env.c (getenv, get_environment_variable_i4): Use it. From-SVN: r87801
* re PR libfortran/17286 (namelist containing more than one value cannot ↵Bud Davis2004-09-212-0/+10
| | | | | | | | | | | | | | | | | contain whitespace or newlines for READ) 2004-09-21 Bud Davis <bdavis9659@comcast.net> PR fortran/17286 * io/list_read.c (namelist_read): ignore spaces after the '=' for namelist reads. 2004-09-21 Bud Davis <bdavis9659@comcast.net> PR fortran/17286 * gfortran.dg/pr17286.f90: New test. From-SVN: r87799
* config.h.in: Regenerate.Aaron W. LaFramboise2004-09-185-0/+172
| | | | | | | | | | | | | 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * config.h.in: Regenerate. * configure: Regenerate. * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h. * unix.c: Include stdio.h. (HAVE_SYS_MMAN_H): Check. (PROT_READ, PROT_WRITE): Provide default definitions. From-SVN: r87714
* check.c (gfc_check_getcwd_sub): New function.Steven G. Kargl2004-09-151-0/+6
| | | | | | | | | | | | | | | | | | | | 2004-09-15 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. libgfortran/ * intrincics/getcwd.c: New file. * Makefile.am: Add getcwd.c. * Makefile.in: Regenerated. From-SVN: r87555
* check.c (gfc_check_getcwd_sub): New function.Steven G. Kargl2004-09-153-2/+84
| | | | | | | | | | | | | | | | | | | | 2004-09-15 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. libgfortran/ * intrinsics/getcwd.c: New file. * Makefile.am: Add getcwd.c. * Makefile.in: Regenerated. From-SVN: r87552
* Fix typo.Paul Brook2004-09-151-1/+1
| | | | From-SVN: r87548
* env.c (getenv, [...]): Remove trailing white space.Steven G. Kargl2004-09-152-13/+30
| | | | | | | | | | | | 2004-09-15 Steven G. Kargl <kargls@comcast.net> Paul Brook <paul@codesourcery.com> * intrinsics/env.c (getenv, get_environmental_variable): Remove trailing white space. Uase alloca. Honour trim_name. Co-Authored-By: Paul Brook <paul@codesourcery.com> From-SVN: r87547
* re PR libfortran/17090 (Runtime I/O error)Bud Davis2004-09-142-1/+13
| | | | | | | | | | | | | | | | | 2004-09-13 Bud Davis <bdavis9659@comcast.net> PR fortran/17090 * io/list_read.c (list_formatted_read): Handle trailing spaces at end of line. 2004-09-13 Bud Davis <bdavis9659@comcast.net> PR fortran/17090 * gfortran.dg/pr17090.f90: New test. From-SVN: r87474
* Put ChangeLog entry in the right place.Paul Brook2004-09-061-0/+5
| | | | From-SVN: r87120
* [multiple changes]Paul Brook2004-09-061-5/+2
| | | | | | | | | | | | | 2004-09-06 Steven G. Kargl <kargls@comcast.net> * io/write.c (output_float): Typo in comment. Remove debugging printf. Fix format for FP of form 1e10. 2004-09-06 Paul Brook <paul@codesourcery.com> * gfortran.dg/edit_real_1.f90: Add new test. From-SVN: r87119
* cshift0.c (DEF_COPY_LOOP, [...]): New.Richard Henderson2004-09-032-19/+92
| | | | | | | | | * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long, copy_loop_double, copy_loop_ldouble): New. (__cshift0): Make shift type ssize_t. Use % operator instead of div. Use specialized versions of copy loop depending on the shape. From-SVN: r87045
* format.c (parse_format_list): Set repeat count for P descriptors.Paul Brook2004-09-023-3/+19
| | | | | | | | | | * io/format.c (parse_format_list): Set repeat count for P descriptors. * write.c (output_float): Fix condition. Correctly handle nonzero scale factor. testsuite/ * gfortran.dg/edit_real_1.f90: Add new tests. From-SVN: r86952
* mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.Eric Botcazou2004-09-013-6/+13
| | | | | | | * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. * mk-srk-inc.sh: Likewise. From-SVN: r86919
* error.c (generate_error): Set both iostat and library_return.Paul Brook2004-08-312-6/+12
| | | | | | | | | * runtime/error.c (generate_error): Set both iostat and library_return. testsuite/ * gfortran.dg/eof_2.f90: New test. From-SVN: r86852
* re PR libfortran/16805 (Runtime failure using list directed read from string)Paul Brook2004-08-313-5/+17
| | | | | | | | | | | | PR libfortran/16805 * io/list_read.c (next_char): Don't signal EOF for internal files. * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads. testsuite/ 2004-08-31 Bud Davis <bdavis9659@comcast.net> * gfortran.dg/list_read_2.f90: New test. From-SVN: r86844
* unit.c: Separate copyright years by ','.Tobias Schlüter2004-08-312-11/+9
| | | | | | | | | * io/unit.c: Separate copyright years by ','. (compare, insert_unit, delete_unit, is_internal_unit, close_units): Remove blank line in beginning of function. (get_unit): Simplify code. From-SVN: r86841
* * io/unit.c (get_unit): Remove superfluous if.Paul Brook2004-08-312-3/+5
| | | | From-SVN: r86838
* transfer.c (read_sf): Rename uinty to readlen.Paul Brook2004-08-313-13/+28
| | | | | | | | | | * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF. (finalize_transfer): Move setjmp after namlist IO. * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly. testsuite/ * gfortran.dg/eof_1.f90: New test. From-SVN: r86831
* list_read.c (eat_separator): Set at_eo when a '/' is seen.Paul Brook2004-08-312-0/+5
| | | | | | | | * list_read.c (eat_separator): Set at_eo when a '/' is seen. testsuite/ * gfortran.dg/list_read_1.f90: New file. From-SVN: r86830
* trans-decl.c, [...]: Replace all occurences of 'gfc_strlen_type_node' by ↵Tobias Schlüter2004-08-316-16/+23
| | | | | | | | | | | | | | | | | | 'gfc_charlen_type_node'. fortran/ * trans-decl.c, trans-expr.c, trans-io.c, trans-types.c: Replace all occurences of 'gfc_strlen_type_node' by 'gfc_charlen_type_node'. * trans-types.h: Same. Also update comment accordingly. libgfortran/ * libgfortran.h: Replace 'gfc_strlen_type' by 'gfc_charlen_type'. Update comment accordingly. * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c: Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'. From-SVN: r86828
* trans-types.h: Add comments.Paul Brook2004-08-302-0/+8
| | | | | | | | | * trans-types.h: Add comments. (intmax_type_node, string_type_node, const_string_type_node): Remove. libgfortran/ * libgfortran.h: Add comments. From-SVN: r86810
* Makefile.am (gfor_helper_src): Split selected_kind.f90.Richard Henderson2004-08-307-45/+159
| | | | | | | | | | | | | * Makefile.am (gfor_helper_src): Split selected_kind.f90. (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc. (selected_int_kind.inc selected_real_kind.inc): New rules. * Makefile.in: Regenerate. * mk-sik-inc.sh, mk-srk-inc.sh: New files. * intrinsics/selected_int_kind.f90: Split from selected_kind.f90, include table of detected kinds. * intrinsics/selected_real_kind.f90: Similarly. From-SVN: r86801
* bessel.c: New file.Steven G. Kargl2004-08-292-0/+111
| | | | | | | | | | | | | | | 2004-08-29 Steven G. Kargl <kargls@comcast.net> Paul Brook <paul@codesourcery.com> * intrinsics/bessel.c: New file. * intrinsics/erf.c: New file. * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c. * configure.ac: Test for C99 Bessel and Error functions. * Makefile.in: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. From-SVN: r86728
* check.c (gfc_check_besn, [...]): New functions.Steven G. Kargl2004-08-296-8/+1243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-29 Steven G. Kargl <kargls@comcast.net> Paul Brook <paul@codesourcery.com> * check.c (gfc_check_besn, gfc_check_g77_math1): New functions. * f95-lang.c (DO_DEFINE_MATH_BUILTIN): Define. (DEFINE_MATH_BUILTIN, DEFINE_MATH_BUILTIN_C): Use it. (build_builtin_fntypes): New function. (gfc_init_builtin_functions): Use it. * gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_{J,Y}{0,1,N} and GFC_ISYM_ERF{,C}. (gfc_c_int_kind): Declare. * intrinsic.c (add_functions): Add [d]bes* and [d]erf*. * intrinsic.h (gfc_check_besn, gfc_check_g77_math1, gfc_resolve_besn, gfc_resolve_g77_math1): Add prototypes. * resolve.c (gfc_resolve_besn, gfc_resolve_g77_math1): New functions. * mathbuiltins.def: Add comment. Change third argument. Use DEFINE_MATH_BUILTIN_C. Add bessel and error functions. * trans-intrinsic.c (BUILT_IN_FUNCTION): Define. (DEFINE_MATH_BUILTIN, DEFINE_MATH_BUILTIN_C): Use it. * trans-types.c (gfc_c_int_kind): Declare. (gfc_init_kinds): Set it. testsuite/ * gfortran.dg/g77/README: Update. * gfortran.dg/g77/erfc.f: Copy from g77.f-torture. * gfortran.dg/g77/intrinsic-unix-bessel.f: Ditto. * gfortran.dg/g77/intrinsic-unix-erf.f: Ditto. libgfortran/ * intrinsics/bessel.c: New file. * intrinsics/erf.c: New file. * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c. * configure.ac: Test for C99 Bessel and Error functions. * Makefile.in: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. Co-Authored-By: Paul Brook <paul@codesourcery.com> From-SVN: r86727
* gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_GET?ID.Steven G. Kargl2004-08-287-121/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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