summaryrefslogtreecommitdiffstats
path: root/libgfortran/io
Commit message (Collapse)AuthorAgeFilesLines
...
* Commit for Victor Leikehman <lei@il.ibm.com>steven2004-08-051-0/+2
| | | | | | | | PR libgfortran/16704 * io/read.c (read_radix): Understand letters f and F as hex digits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85596 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/write.c (write_float): Use the slightly more portable isnansayle2004-08-011-1/+1
| | | | | | | in preference to isinf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85407 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/16291pbrook2004-07-081-3/+3
| | | | | | | | * libgfortran/io/write.c: (write_float): Added length check. Remove pointless memset calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84308 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-04 Bud Davis <bdavis9659@comcast.net>bdavis2004-07-052-18/+46
| | | | | | | | | | | | | | | | | | Paul Brook <paul@codesourcery.com> PR fortran/15472 * io/transfer.c(us_write): set recl for seq unform writes to max size. * io/transfer.c(data_transfer_init): handle un-opened seq unform unit. * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at right time. * io/unix.c(is_seekable): set based upon the file/device, not the method being used to access it (fd or mmap). * io/unix.c(fd_flush): don't set file_size if !seekable. * io/unix.c(fd_truncate: ditto. * gfortran.fortran-torture/execute/seq_io.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84104 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-27 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-281-4/+4
| | | | | | | | PR gfortran/12839 * io/write.c (write_float): check signbit for Infinity. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83757 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-26 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-261-1/+1
| | | | | | | | | PR gfortran/16196 * unix.c(regular_file): create file if it does not exist. * gfortran.fortran-torture/execute/open_replace.f90: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83709 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15750pbrook2004-06-223-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | * io.c (gfc_match_inquire): Bugfix for iolength related stuff. (gfc_resolve_inquire): Resolve the iolength tag. Return SUCCESS at end of function if no failure has occured. * resolve.c (resolve_code): Resolve if iolength is encountered. * trans-io.c: (ioparm_iolength, iocall_iolength, iocall_iolength_done): New variables. (last_dt): Add IOLENGTH. (gfc_build_io_library_fndecls ): Set iolength related variables. (gfc_trans_iolength): Implement. (gfc_trans_dt_end): Treat iolength as a third form of data transfer. libgfortran/ PR fortran/15750 * inquire.c (st_inquire): Add comment * io.h (st_parameter): Add iolength. (st_iolength, st_iolength_done): Declare. * transfer.c (iolength_transfer, iolength_transfer_init, st_iolength, st_iolength_done): New functions. testsuite/ * gfortran.fortran-torture/execute/iolength_1.f90: New test. * gfortran.fortran-torture/execute/iolength_3.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83472 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-19 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-191-1/+1
| | | | | | | | PR gfortran/16080 * io/list_read.c(set_value): fixed spelling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83389 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-19 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-191-2/+7
| | | | | | | | | PR gfortran/16080 * gfortran.fortran-torture/execute/read_null_string.f90: New file. * io/list_read.c(set_value): don't copy if the string is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83388 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-12 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-121-7/+17
| | | | | | | | | PR gfortran/12839 * gfortran.fortran-torture/execute/nan_inf_fmt.f90: New test. * io/write.c(write_float): format inf and nan IAW F2003. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83024 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-091-9/+17
| | | | | | | | | | | | | PR gfortran/14897 * gfortran.fortran-torture/execute/t_edit.f90 * io/transfer.c (formatted_transfer): position is unique for T and TL edit descriptors. (data_transfer_init): set record length to size of internal file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82808 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-08 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-091-1/+1
| | | | | | | | | | | PR gfortran/15755 * gfortran.fortran-torture/execute/backspace.c : New test. * io/backspace.c(st_backspace): call correct routine for formatted and un-formatted units. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82806 138bc75d-0d04-0410-961f-82ee72b054a4
* * io.c (check_format): As a GNU extension, allow the comma after asayle2004-05-211-1/+1
| | | | | | | | | | | string literal to be optional in a format. Use gfc_notify_std to issue an error/warning as appropriate. * io/format.c (parse_format_list): Allow the comma after a string literal to be optional. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82109 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15235tobi2004-05-185-52/+52
| | | | | | | | | | | | | | | | * gfortran.h (offset_t): Rename to ... (gfc_offset): ... this. * io/backspace.c (formatted_backspace, unformatted_backspace), io/io.h (stream, gfc_unit, global_t, file_length, file_position), transfer.c (us_read, us_write, next_record_r, next_record_w), io/unit.c (init_units), unix.c (unix_stream, fd_alloc, fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc, mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at, mem_alloc_w_at, mem_seek, file_length, file_position): Replace all occurences of offset_t by gfc_offset. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81994 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/format.c (write_real): Don't include padding in format.pbrook2004-05-161-4/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81922 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/format.c (format_lex): Make c an int.pbrook2004-05-161-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81920 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/write.c (write_logical): Don't print extra blank.pbrook2004-05-161-4/+26
| | | | | | | | (write_integer): Base field width on kind. (list_formatted_write): Output initial blank. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81914 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/io.h (flush): Add prototype.pbrook2004-05-163-1/+16
| | | | | | | | * io/transfer.c (finalize_transfer): Flush partial records. * io/unix.c (flush): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81913 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15234tobi2004-05-1510-54/+54
| | | | | | | | | | | | | | | | | | | | | * io/io.h (unit_t): Rename to ... (gfc_unit) ... this. (unit_root, current_unit, find_file, find_unit, get_unit): Now of type gfc_unit. (delete_file, insert_unit, close_unit): Argument now of type gfc_unit. * backspace.c (st_backspace), close.c (st_close), endfile.c (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c (test_endfile, edit_modes, new_unit, already_open, st_open), rewind.c (st_rewind), transfer.c (current_unit), unit.c (internal_unit, unit_cache, rotate_left, rotate_right, insert, insert_unit, delete_root, delete_treap, delete_unit, find_unit, get_unit, init_units, close_unit), unix.c (find_file0, find_file, delete_file): Replace all occurences of unit_t by gfc_unit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81903 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15311pbrook2004-05-151-2/+2
| | | | | | | | | * io/write.c (write_a): right justify A edit output. libgfortran/ * gfortran.fortran-torture/execute/write_a_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81895 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/format.c: (parse_format_list): No comma is required afterpbrook2004-05-131-2/+2
| | | | | | | P descriptor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81819 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge tree-ssa-20020619-branch into mainline.dnovillo2004-05-1315-0/+10016
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81764 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud