summaryrefslogtreecommitdiff
path: root/libgfortran
Commit message (Collapse)AuthorAgeFilesLines
* 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>pbrook2004-10-305-6/+52
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89893 138bc75d-0d04-0410-961f-82ee72b054a4
* Missing bit of previous patch.pbrook2004-10-301-0/+1
| | | | | | | | 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * unix.c: Include stdio.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89892 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>pbrook2004-10-302-1/+6
| | | | | | | * intrinsics/system.c ("libgfortran.h"): Move after system headers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89891 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-30 Canqun Yang <canqun@nudt.edu.cn>pbrook2004-10-302-1/+9
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89886 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/transfer.c (finalize_transfer): Free internal streams.pbrook2004-10-073-1/+11
| | | | | | | * io/unix.c (mem_close): Free stream object. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88709 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsics/string_intrinsics.c (string_verify): Fix off by onepbrook2004-10-072-3/+7
| | | | | | | | | error. testsuite/ * gfortran.dg/intrinsic_verify_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88704 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/17709pbrook2004-10-062-0/+6
| | | | | | | | | * io/transfer.c (data_transfer_init): Reset sf_seen_eor. testsuite/ * gfortran.dg/empty_format_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88615 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-10-052-0/+67
| | | | | | | * intrinsics/mvbits.c: Commit the file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88541 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2004-10-044-5/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88532 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/17631tobi2004-10-043-13/+28
| | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88527 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/17283tobi2004-10-043-14/+290
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88526 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-04 Paul Brook <paul@codesourcery.com>pbrook2004-10-042-2/+16
| | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88513 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-04 Paul Brook <paul@codesourcery.com>pbrook2004-10-041-0/+9
| | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88512 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>pbrook2004-10-034-5/+10
| | | | | | | | | * intrinsics/abort.c ("libgfortran.h"): Move. * intrinsics/date_and_time.c ("libgfortran.h"): Same. * intrinsics/write.c ("libgfortran.h"): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88444 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/16137tobi2004-09-265-83/+249
| | | | | | | | | | * config.h.in (HAVE_POWF): Undefine. * configure.ac: Check for 'powf' in library. * configure: Regenerate. * intrinsics/c99_functions.c (powf): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88128 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsics/etime.c (etime_): New function.tobi2004-09-242-0/+23
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88052 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-21 Steven G. Kargl <kargls@comcast.net>tobi2004-09-213-4/+13
| | | | | | | | * libgfortran.h: define gfc_alloca() * intrinsics/env.c (getenv, get_environment_variable_i4): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87801 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-21 Bud Davis <bdavis9659@comcast.net>bdavis2004-09-212-0/+10
| | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87799 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>pbrook2004-09-185-0/+172
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87714 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-15 Steven G. Kargl <kargls@comcast.net>pbrook2004-09-151-0/+6
| | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87555 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-15 Steven G. Kargl <kargls@comcast.net>pbrook2004-09-153-2/+84
| | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87552 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo.pbrook2004-09-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87548 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-15 Steven G. Kargl <kargls@comcast.net>pbrook2004-09-152-13/+30
| | | | | | | | | | Paul Brook <paul@codesourcery.com> * intrinsics/env.c (getenv, get_environmental_variable): Remove trailing white space. Uase alloca. Honour trim_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87547 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-13 Bud Davis <bdavis9659@comcast.net>bdavis2004-09-142-1/+13
| | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87474 138bc75d-0d04-0410-961f-82ee72b054a4
* Put ChangeLog entry in the right place.pbrook2004-09-061-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87120 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-06 Steven G. Kargl <kargls@comcast.net>pbrook2004-09-061-5/+2
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87119 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,rth2004-09-032-19/+92
| | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87045 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/format.c (parse_format_list): Set repeat count for P descriptors.pbrook2004-09-023-3/+19
| | | | | | | | | | * write.c (output_float): Fix condition. Correctly handle nonzero scale factor. testsuite/ * gfortran.dg/edit_real_1.f90: Add new tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86952 138bc75d-0d04-0410-961f-82ee72b054a4
* * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.ebotcazou2004-09-013-6/+13
| | | | | | | * mk-srk-inc.sh: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86919 138bc75d-0d04-0410-961f-82ee72b054a4
* * runtime/error.c (generate_error): Set both iostat andpbrook2004-08-312-6/+12
| | | | | | | | | library_return. testsuite/ * gfortran.dg/eof_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86852 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/16805pbrook2004-08-313-5/+17
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86844 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/unit.c: Separate copyright years by ','.tobi2004-08-312-11/+9
| | | | | | | | | (compare, insert_unit, delete_unit, is_internal_unit, close_units): Remove blank line in beginning of function. (get_unit): Simplify code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86841 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/unit.c (get_unit): Remove superfluous if.pbrook2004-08-312-3/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86838 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.pbrook2004-08-313-13/+28
| | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86831 138bc75d-0d04-0410-961f-82ee72b054a4
* * list_read.c (eat_separator): Set at_eo when a '/' is seen.pbrook2004-08-312-0/+5
| | | | | | | | testsuite/ * gfortran.dg/list_read_1.f90: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86830 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2004-08-316-16/+23
| | | | | | | | | | | | | | | | * 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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86828 138bc75d-0d04-0410-961f-82ee72b054a4
* * trans-types.h: Add comments.pbrook2004-08-302-0/+8
| | | | | | | | | (intmax_type_node, string_type_node, const_string_type_node): Remove. libgfortran/ * libgfortran.h: Add comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86810 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (gfor_helper_src): Split selected_kind.f90.rth2004-08-307-45/+159
| | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86801 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-29 Steven G. Kargl <kargls@comcast.net>pbrook2004-08-292-0/+111
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86728 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-29 Steven G. Kargl <kargls@comcast.net>pbrook2004-08-296-8/+1243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86727 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-29 Steven G. Kargl <kargls@comcast.net>pbrook2004-08-287-121/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86703 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/17195pbrook2004-08-284-250/+324
| | | | | | | | | | | | | * libgfortran.h (rtoa): Remove prototype. * runtime/error.c (rtoa): Remove. * io/write.c (calculate_G_format): Don't add blanks if E format is used. Add correct number of blanks when exponent width is specified. (output_float): Rewrite. testsuite/ * gfortran.dg/edit_real_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86701 138bc75d-0d04-0410-961f-82ee72b054a4
* Comment typo.pbrook2004-08-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86660 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/rewind.c (st_rewind): Reset unit to read mode.pbrook2004-08-272-0/+9
| | | | | | | | testsuite/ * gfortran.dg/rewind_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86659 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-27 Bud Davis <bdavis9659@comcast.net>bdavis2004-08-274-4/+22
| | | | | | | | | | | | | | PR fortran/16597 * io/io.h: created typedef for unit_mode. * io/io.h (gfc_unit): added mode to unit structure. * io/transfer.c (data_transfer_init): flush if a write then read is done on a unit (direct access files). * io/rewind.c (st_rewind): Used unit mode instead of global. * gfortran.dg/pr16597.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86654 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:tobi2004-08-261-0/+5
| | | | | | | | Fix formatting issues, update copyright years. (Add Previously missing ChangeLog entry) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86621 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-24 Bud Davis <bdavis9659@comcast.net>bdavis2004-08-252-4/+12
| | | | | | | | | | | PR fortran/17143 * runtime/error.c (itoa): keep from overflowing during mod operation by using unsigned variable. * gfortran.dg/pr17143.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86532 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-24 Bud Davis <bdavis9659@comcast.net>bdavis2004-08-252-0/+9
| | | | | | | | | | PR fortran/17164 * runtime/string_intrinsics.c (string_index):check for substring longer than string. * gfortran.dg/pr17164.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86527 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.dje2004-08-243-2/+7
| | | | | | | * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86486 138bc75d-0d04-0410-961f-82ee72b054a4
* ignore autom4te.cachekcook2004-08-231-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86446 138bc75d-0d04-0410-961f-82ee72b054a4