summaryrefslogtreecommitdiff
path: root/libgfortran
Commit message (Collapse)AuthorAgeFilesLines
* Commit for Victor Leikehman <lei@il.ibm.com>steven2004-08-052-0/+7
| | | | | | | | 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
* * libgfortran.h (array_t, size0) New declarations.pbrook2004-08-0452-6/+851
| | | | | | | | | | | | * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate space if return value descriptor has NULL in its data field, and initialize bounds and stride. * intrinsics/size.c (array_t, size0): Declarations moved to libgfortran.h. * generated/*.c: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85558 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgfortran/16137sayle2004-08-035-73/+1866
| | | | | | | | | | | | | | | | * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf, copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f, scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm. * config.h.in: Regenerate. * configure: Regenerate. * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf, copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f, nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub implementations for targets that don't support C99 float functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85473 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/write.c (write_float): Use the slightly more portable isnansayle2004-08-012-1/+6
| | | | | | | in preference to isinf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85407 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-18 Bud Davis <bdavis9659@comcast.net>pbrook2004-07-183-2/+367
| | | | | | | | * configure.ac: Add check for LFS support. * configure: Regenerate git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84890 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/16303pbrook2004-07-114-18/+15
| | | | | | | | * m4/cexp.m4 (carg): Return -pi to pi. * generated/exp_c?.c: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84516 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/16291pbrook2004-07-082-5/+11
| | | | | | | | * 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-053-18/+59
| | | | | | | | | | | | | | | | | | 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
* PR fortran/15280pbrook2004-07-043-4/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/15665 * gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_IARGC and GFC_ISYM_COMMAND_ARGUMENT_COUNT. * intrinsic.c (add_functions): Identify iargc. Add command_argument_count. (add_subroutines): Resolve getarg. Add get_command and get_command_argument. * intrinsic.h (gfc_resolve_getarg, gfc_resolve_get_command, gfc_resolve_get_command_argument): Add prototypes. * iresolve.c (gfc_resolve_getarg, gfc_resolve_get_command, gfc_resolve_get_command_argument): New functions. * trans-decl.c (gfor_fndecl_iargc): New variable. (gfc_build_intrinsic_function_decls): Set it. * trans-intrinsic.c (gfc_conv_intrinsic_iargc): New function. (gfc_conv_intrinsic_function): Use it. * trans.h (gfor_fndecl_iargc): Declare. libgfortran/ * libgfortran.h (gfc_strlen_type): Define. * intrinsics/args.c (getarg): Rename ... (getarg_i4): ... to this. (getarg_i8, get_command_argument_i4, get_command_argument_i8, get_command_i4, get_command_i8): New functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84087 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-04 Matthias Klose <doko@debian.org>doko2004-07-046-75/+55
| | | | | | | | | | | * libtool-version: New. * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname. * Makefile.in: Regenerate. * configure.ac: Remove libtool_VERSION macro * configure: Regenerate git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84074 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsics/rand.c (rand): Wrap the irand() call from the previoussteven2004-06-302-1/+7
| | | | | | | commit in prefix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83895 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>tobi2004-06-293-3/+10
| | | | | | | | | | | Paul Brook <paul@codesourcery.com> * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix comments. * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83880 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-27 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-282-4/+9
| | | | | | | | 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-262-1/+6
| | | | | | | | | 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
* gcc/ChangeLog:pinskia2004-06-243-111/+69
| | | | | | | | | | | | | | | | | | * config/darwin7.h (MATH_LIBRARY): Remove. (LIB_SPEC): Define. * config/darwin.h (MATH_LIBRARY): Define always to empty. (LIB_SPEC): Only define if not already defined. libstdc++/ChangeLog: * linkage.m4: Remove check for libmx. * configure: Regenerate. libgfortran/ChangeLog: * configure.ac: Remove check for libmx. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83603 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15750pbrook2004-06-224-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * etime.c (etime_sub): Remove array rank check;pbrook2004-06-212-3/+7
| | | | | | | Add check for sufficient space. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83456 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-19 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-192-1/+6
| | | | | | | | 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-192-2/+12
| | | | | | | | | 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-14 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-142-1/+11
| | | | | | | | PR gfortran/15292 * intrinsics/c99_functions.c: Use fpclassify if it exists. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83116 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.pbrook2004-06-1310-30/+306
| | | | | | | | | | | | | | | * configure.ac: Add checks for nextafter and nextafterf. * Makefile.in, config.h.in, configure: Regenerate. * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare. * intrinsics/rand.c (rand): Use normalize_r4_i4. * intrinsics/random.c (random_r4): Use normalize_r4_i4. (random_r8): Use normalize_r8_i8. * runtime/normalize.c: New file. testsuite/ * gfortran.fortran-torture/execute/random_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83070 138bc75d-0d04-0410-961f-82ee72b054a4
* * random.c: Fix several spelling and formatting mistakes intobi2004-06-132-13/+21
| | | | | | | | comments. (random_r8): Fix loop to make random numbers range in [0,1(. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83063 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-13 Steven G. Kargl <kargls@comcast.net>tobi2004-06-132-2/+10
| | | | | | | | * random.c (random_r4): Burn a random number. (random_r8): fix infinite loop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83062 138bc75d-0d04-0410-961f-82ee72b054a4
* PR gfortran/15292pbrook2004-06-127-71/+308
| | | | | | | | | | | | * intrinsics/c99_functions.c: New file. * Makefile.am: Add new file. * configure.ac: Added test for round/roundf. * Makefile.in: Regenerate. * configure: Regenerate. * configure.h.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83036 138bc75d-0d04-0410-961f-82ee72b054a4
* * check.c (gfc_check_second_sub, gfc_check_irand, gfc_check_randpbrook2004-06-127-2/+500
| | | | | | | | | | | | | | | | | | | | | | gfc_check_srand, gfc_check_etime, gfc_check_etime_sub): New functions. * gfortran.h (gfc_generic_isym_id): New symbols GFC_ISYM_ETIME, GFC_ISYM_IRAND, GFC_ISYM_RAND, GFC_ISYM_SECOND. * trans-intrinsic.c: Use symbols. * intrinsic.c (add_sym_2s): New function. * intrinsic.c: Add etime, dtime, irand, rand, second, srand. * intrinsic.h: Function prototypes. * iresolve.c (gfc_resolve_etime_sub, gfc_resolve_second_sub gfc_resolve_srand): New functions. libgfortran * Makefile.am: Add rand.c and etime.c * Makefile.in: Regenerated. * aclocal.in: Regenerated. * cpu_time.c (second_sub, second): New functions. * rand.c (irand, rand, srand): New file. * etime.c (etime_sub, etime): New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83034 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/14923pbrook2004-06-124-5/+31
| | | | | | | | | | | | * intrinsics/date_and_time.c: New file. * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c. * Makefile.in, aclocal.m4: Regenerate. * libgfortran.h: Prototype date_and_time(). testsuite/ * gfortran.fortran-torture/execute/date_time_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83032 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15665 Fixup ChangeLog from my previous committobi2004-06-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83030 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15655Fixup ChangeLog entries from previous commit by Paul Brooktobi2004-06-121-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83029 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsics/args.c: Implement GETARG and IARGC.pbrook2004-06-124-3/+78
| | | | | | | | | | * Makefile.am: Add it. * Makefile.in: Regenerate. testsuite/ * gfortran.fortran-torture/execute/getarg_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83027 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-12 Bud Davis <bdavis9659@comcast.net>bdavis2004-06-122-7/+22
| | | | | | | | | 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-092-9/+25
| | | | | | | | | | | | | 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-092-1/+7
| | | | | | | | | | | 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
* PR gfortran/11800aj2004-05-307-5307/+2557
| | | | | | | | | | | | | | | * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES. (lib_LTLIBRARIES): Rename to ... (toolexeclib_LTLIBRARIES): this for multilib support. * configure.in: Rename to ... * configure.ac: this. Update to modern autoconf style, enable multilibs, support --enable-version-specific-runtime-libs. * Makefile.in: Regenerated. * configure: Regenerated. * aclocal.m4: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82466 138bc75d-0d04-0410-961f-82ee72b054a4
* * iresolve.c (gfc_resolve_random_number): Clean up conditional.pbrook2004-05-303-14/+335
| | | | | | | | | | | libgfortran/ * libgfortran.h (random_seed): Update prototype. * intrinsics/random.c: Disable old implementation and add new one. testsuite/ * gfortran.fortran-torture/execute/random_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82443 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsics/random.c: Include unistd.h for close and readaj2004-05-303-16/+28
| | | | | | | | | | prototypes, remove unneeded inclusion of assert.h. * intrinsics/abort.c: Include stdlib.h for abort prototype, remove unneeded inclusion of assert.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82442 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15234tobi2004-05-272-7/+11
| | | | | | | | * intrinsics/associated.c: Remove enum. (associated): Replace TRUE/FALSE by 1/0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82322 138bc75d-0d04-0410-961f-82ee72b054a4
* * random.c (random_seed): Use correct variable.pbrook2004-05-232-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82167 138bc75d-0d04-0410-961f-82ee72b054a4
* * check.c (gfc_check_system_clock): New function.pbrook2004-05-224-2/+236
| | | | | | | | | | | | | | | * intrinsic.c (add_sym_3s): New function. (add_subroutines): Use it. * intrinsic.h (gfc_check_system_clock, gfc_resolve_system_clock): Add prototypes. * iresolve.c (gfc_resolve_system_clock): New function. libgfortran/ * intrinsics/system_clock: New file. * Makefile.am: Add intrinsics/system_clock.c. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82131 138bc75d-0d04-0410-961f-82ee72b054a4
* * io.c (check_format): As a GNU extension, allow the comma after asayle2004-05-212-1/+6
| | | | | | | | | | | 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
* Credit Feng Wang <fengwang@nudt.edu.cn> in ChangeLog.pbrook2004-05-191-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82023 138bc75d-0d04-0410-961f-82ee72b054a4
* * f95-lang.c (gfc_init_builtin_functions): Use vold_list_node.pbrook2004-05-1916-15/+1171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Create decls for __builtin_pow{,f}. * gfortran.h (PREFIX_LEN): Define. * trans-decl.c (gfor_fndecl_math_powi): Add. (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove. (gfc_build_intrinsic_function_decls): Create decls for powi. * trans-expr.c (powi_table): Add. (gfc_conv_integer_power): Remove. (gfc_conv_powi): New function. (gfc_conv_cst_int_power): New function. (gfc_conv_power_op): Use new powi routines. * trans.h (struct gfc_powdecl_list): Add. (gfor_fndecl_math_powi): Add. (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove. testsuite/ * gfortran.fortran-torture/execute/power.f90: Test constant integers. libgfortran/ * Makefile.am (i_pow_c): Set it. Add build rule. (gfor_built_src): Use it. (m4_files): add m4/pow.m4. * Makefile.in: Regenerate. * m4/pow.m4: New file. * generated/pow_*.c: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82014 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Remove references to types.m4.pbrook2004-05-1891-260/+184
| | | | | | | | | | | | | | | | * m4/iparm.m4: Merge with types.m4. * m4/types.m4: Remove. * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4, m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4, m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4, m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4, m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4): Update to use new iparm.m4. * generated/*.c: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82003 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15235tobi2004-05-187-53/+67
| | | | | | | | | | | | | | | | * 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
* PR bootstrap/15120kkojima2004-05-181-1/+1
| | | | | | | | * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*. * */configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81980 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/format.c (write_real): Don't include padding in format.pbrook2004-05-162-4/+7
| | | | 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-162-1/+6
| | | | 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-162-4/+33
| | | | | | | | (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-164-1/+22
| | | | | | | | * 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-1511-54/+73
| | | | | | | | | | | | | | | | | | | | | * 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-152-2/+7
| | | | | | | | | * 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