eaa90d25da
2005-02-06 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/23815 * gfortran.texi: Document the GFORTRAN_CONVERT_UNIT environment variable. * invoke.texi: Mention the "Runtime" chapter. Document the -fconvert= option. * gfortran.h: Add options_convert. * lang.opt: Add fconvert=little-endian, fconvert=big-endian, fconvert=native and fconvert=swap. * trans-decl.c (top level): Add gfor_fndecl_set_convert. (gfc_build_builtin_function_decls): Set gfor_fndecl_set_convert. (gfc_generate_function_code): If -fconvert was specified, and this is the main program, add a call to set_convert(). * options.c: Handle the -fconvert options. 2005-02-06 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/23815 * runtime/environ.c (init_unformatted): Add GFORTRAN_CONVERT_UNIT environment variable. (top level): Add defines, type and static variables for GFORTRAN_CONVERT_UNIT handling. (search_unit): New function. (match_word): New function. (match_integer): New function. (next_token): New function. (push_token): New function. (mark_single): New function. (mark_range): New funciton. (do_parse): New function. (init_unformatted): New function. (get_unformatted_convert): New function. * runtime/compile_options.c: Add set_convert(). * libgfortran.h: Add convert to compile_options_t. * io/open.c (st_open): Call get_unformatted_convert to get unit default; if CONVERT_NONE is returned, check for the presence of a CONVERT specifier and use it. As default, use compile_options.convert. * io/io.h (top level): Add CONVERT_NONE to unit_convert, to signal "nothing has been set". (top level): Add prototype for get_unformatted_convert. 2005-02-06 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/23815 * unf_io_convert_4.f90: New test. From-SVN: r110664
96 lines
3.1 KiB
Plaintext
96 lines
3.1 KiB
Plaintext
2005-02-06 Thomas Koenig <Thomas.Koenig@online.de>
|
|
|
|
PR libfortran/23815
|
|
* runtime/environ.c (init_unformatted): Add GFORTRAN_CONVERT_UNIT
|
|
environment variable.
|
|
(top level): Add defines, type and static variables for
|
|
GFORTRAN_CONVERT_UNIT handling.
|
|
(search_unit): New function.
|
|
(match_word): New function.
|
|
(match_integer): New function.
|
|
(next_token): New function.
|
|
(push_token): New function.
|
|
(mark_single): New function.
|
|
(mark_range): New funciton.
|
|
(do_parse): New function.
|
|
(init_unformatted): New function.
|
|
(get_unformatted_convert): New function.
|
|
* runtime/compile_options.c: Add set_convert().
|
|
* libgfortran.h: Add convert to compile_options_t.
|
|
* io/open.c (st_open): Call get_unformatted_convert to get
|
|
unit default; if CONVERT_NONE is returned, check for
|
|
the presence of a CONVERT specifier and use it.
|
|
As default, use compile_options.convert.
|
|
* io/io.h (top level): Add CONVERT_NONE to unit_convert, to signal
|
|
"nothing has been set".
|
|
(top level): Add prototype for get_unformatted_convert.
|
|
|
|
2006-02-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
|
|
|
PR libfortran/24685
|
|
* io/write.c (write_real): Widen the default format for real(10)
|
|
variables output.
|
|
|
|
2006-01-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
PR libgfortran/25835
|
|
* io/transfer.c (st_read_done): Flush buffers when read is done.
|
|
|
|
2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
PR libgfortran/25697
|
|
* io/transfer.c (us_read): Detect end of file condition from previous
|
|
operations and bail out (no need to pre-position).
|
|
|
|
2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
PR libgfortran/25631
|
|
* io/transfer.c (formatted_transfer_scalar): Adjust pending_spaces and
|
|
skips so that TL works correctly when no bytes_used yet.
|
|
|
|
2006-01-16 Roger Sayle <roger@eyesopen.com>
|
|
|
|
* configure.ac (CFLAGS): Update to include -std=gnu99 so that
|
|
the configure tests will be run with the same environment as
|
|
used to compile the libgfortran source code.
|
|
* configure: Regenerate.
|
|
|
|
2006-01-12 Roger Sayle <roger@eyesopen.com>
|
|
|
|
* intrinsics/c99_functions.c: Add function prototypes to avoid
|
|
warnings from -Wstrict-prototypes -Wmissing-prototypes. On Tru64
|
|
work around a brain-dead libm by redirecting calls to cabs{,f,l}
|
|
to a local __gfc_cabs{,f,l}.
|
|
|
|
2006-01-07 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
* configure.ac: Remove check for sys/mman.h.
|
|
* configure: Regenerated.
|
|
* Makefile.in: Regenerated.
|
|
* config.h.in: Regenerated.
|
|
* aclocal.m4: Regenerated.
|
|
|
|
2006-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
PR libgfortran/25598
|
|
* io/file_pos.c (unformatted_backspace): Assure the new file position
|
|
to seek is not less than zero.
|
|
(st_backspace): Set unit bytes_left to zero.
|
|
* io/transfer.c (next_record_r): Fix line lengths, no functional change.
|
|
|
|
2006-01-02 Paolo Bonzini <bonzini@gnu.org>
|
|
|
|
PR target/25259
|
|
* configure.ac: Use GCC_HEADER_STDINT.
|
|
* libgfortran.h: Include gstdint.h.
|
|
* aclocal.m4: Regenerate.
|
|
* configure: Regenerate.
|
|
|
|
2006-01-01 Steven G. Kargl <kargls@comcast.net>
|
|
|
|
* ChangeLog: Split into years ...
|
|
* ChangeLog-2002: here.
|
|
* ChangeLog-2003: here.
|
|
* ChangeLog-2004: here.
|
|
* ChangeLog-2005: here.
|