2019-08-07 09:34:10 +02:00
|
|
|
|
2019-08-07 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR fortran/53796
|
|
|
|
|
* io/inquire.c (inquire_via_filename): Set recl to -1 for
|
|
|
|
|
unconnected units.
|
|
|
|
|
|
2019-07-21 17:55:49 +02:00
|
|
|
|
2019-07-21 Thomas König <tkoenig@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/91030
|
|
|
|
|
* io/unix.c (BUFFER_SIZE): Delete.
|
|
|
|
|
(BUFFER_FORMATTED_SIZE_DEFAULT): New variable.
|
|
|
|
|
(BUFFER_UNFORMATTED_SIZE_DEFAULT): New variable.
|
|
|
|
|
(unix_stream): Add buffer_size.
|
|
|
|
|
(buf_read): Use s->buffer_size instead of BUFFER_SIZE.
|
|
|
|
|
(buf_write): Likewise.
|
|
|
|
|
(buf_init): Add argument unformatted. Handle block sizes
|
|
|
|
|
for unformatted vs. formatted, using defaults if provided.
|
|
|
|
|
(fd_to_stream): Add argument unformatted in call to buf_init.
|
|
|
|
|
* libgfortran.h (options_t): Add buffer_size_formatted and
|
|
|
|
|
buffer_size_unformatted.
|
|
|
|
|
* runtime/environ.c (variable_table): Add
|
|
|
|
|
GFORTRAN_UNFORMATTED_BUFFER_SIZE and
|
|
|
|
|
GFORTRAN_FORMATTED_BUFFER_SIZE.
|
|
|
|
|
|
2019-06-25 13:41:38 +02:00
|
|
|
|
2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
|
|
|
|
|
Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.ac (LIBGFOR_MINIMAL): Do not use on AMD GCN.
|
|
|
|
|
|
2019-06-14 18:05:54 +02:00
|
|
|
|
2019-06-14 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
2019-06-20 22:26:39 +02:00
|
|
|
|
PR fortran/65921
|
2019-06-14 18:05:54 +02:00
|
|
|
|
* runtime/memory.c (SIZE_MAX):Remove macro definition.
|
|
|
|
|
(xmallocarray): Use __builtin_mul_overflow.
|
|
|
|
|
|
2019-05-22 13:56:01 +02:00
|
|
|
|
2019-05-22 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR fortran/89100
|
|
|
|
|
* io/format.c (parse_format_list): set default width when the
|
|
|
|
|
IOPARM_DT_DEC_EXT flag is set for i, f and g.
|
|
|
|
|
* io/io.h: add default_width_for_integer, default_width_for_float
|
|
|
|
|
and default_precision_for_float.
|
|
|
|
|
* io/write.c (write_boz): extra parameter giving length of data
|
|
|
|
|
corresponding to the type's kind.
|
|
|
|
|
(write_b): pass data length as extra parameter in calls to
|
|
|
|
|
write_boz.
|
|
|
|
|
(write_o): pass data length as extra parameter in calls to
|
|
|
|
|
write_boz.
|
|
|
|
|
(write_z): pass data length as extra parameter in calls to
|
|
|
|
|
write_boz.
|
|
|
|
|
(size_from_kind): also set size is default width is set.
|
|
|
|
|
* io/write_float.def (build_float_string): new paramter inserted
|
|
|
|
|
before result parameter. If default width use values passed
|
|
|
|
|
instead of the values in fnode.
|
|
|
|
|
(FORMAT_FLOAT): macro modified to check for default width and
|
|
|
|
|
calls to build_float_string to pass in default width.
|
|
|
|
|
(get_float_string): set width and precision to defaults when
|
|
|
|
|
needed.
|
|
|
|
|
|
2019-05-19 21:38:11 +02:00
|
|
|
|
2019-05-19 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/90038
|
|
|
|
|
* intrinsics/execute_command_line (sigchld_handler): New function.
|
|
|
|
|
(execute_command_line): Install handler for SIGCHLD.
|
|
|
|
|
* configure.ac: Check for presence of sigaction and waitpid.
|
|
|
|
|
* config.h.in: Regenerated.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2019-05-17 20:18:04 +02:00
|
|
|
|
2019-05-17 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/90038
|
|
|
|
|
* configure.ac (AC_CHECK_FUNCS_ONCE): Check for posix_spawn.
|
|
|
|
|
* intrinsics/execute_command_line (execute_command_line): Use
|
|
|
|
|
posix_spawn.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
* config.h.in: Regenerated.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2019-05-17 19:23:30 +02:00
|
|
|
|
2019-05-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2019-05-17 19:24:27 +02:00
|
|
|
|
PR fortran/54613
|
|
|
|
|
* gfortran.map (GFORTRAN_9.2): Export _gfortran_{,m,s}findloc{0,1}_r10.
|
|
|
|
|
* Makefile.am (i_findloc0_c): Add $(srcdir)/generated/findloc0_r10.c.
|
|
|
|
|
(i_findloc1_c): Add $(srcdir)/generated/findloc1_r10.c.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
* generated/findloc0_r10.c: Generated.
|
|
|
|
|
* generated/findloc1_r10.c: Generated.
|
|
|
|
|
|
2019-05-17 19:23:30 +02:00
|
|
|
|
PR fortran/54613
|
|
|
|
|
* gfortran.map (GFORTRAN_9.2): New symbol version, export
|
|
|
|
|
_gfortran_{,m,s}findloc0_i2 in it.
|
|
|
|
|
|
2019-05-15 20:02:36 +02:00
|
|
|
|
2019-05-15 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR fortran/90461
|
|
|
|
|
* io/open.c (new_unit): Don't check if the file is already open
|
|
|
|
|
for F2018.
|
|
|
|
|
|
2019-05-02 15:02:27 +02:00
|
|
|
|
2019-05-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (gfor_cdir): Remove $(MULTISUBDIR).
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
2019-04-14 20:14:58 +02:00
|
|
|
|
2019-04-14 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR fortran/89843
|
|
|
|
|
* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Only
|
|
|
|
|
return immediately if the source pointer is null. Bring
|
|
|
|
|
forward the extraction of the gfc type. Extract the kind so
|
|
|
|
|
that the element size can be correctly computed for sections
|
|
|
|
|
and components of derived type arrays. Remove the free of the
|
|
|
|
|
CFI descriptor since this is now done in trans-expr.c.
|
|
|
|
|
(gfc_desc_to_cfi_desc): Only allocate the CFI descriptor if it
|
|
|
|
|
is not null.
|
|
|
|
|
(CFI_section): Normalise the difference between the upper and
|
|
|
|
|
lower bounds by the stride to correctly calculate the extents
|
|
|
|
|
of the section.
|
|
|
|
|
|
|
|
|
|
PR fortran/89846
|
|
|
|
|
* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Use
|
|
|
|
|
the stride measure for the gfc span if it is not a multiple
|
|
|
|
|
of the element length. Otherwise use the element length.
|
|
|
|
|
|
|
|
|
|
PR fortran/90022
|
|
|
|
|
* runtime/ISO_Fortran_binding.c (CFI_is_contiguous) : Return
|
|
|
|
|
1 for true and 0 otherwise to comply with the standard. Correct
|
|
|
|
|
the contiguity check for rank 3 and greater by using the stride
|
|
|
|
|
measure of the lower dimension rather than the element length.
|
|
|
|
|
|
2019-03-25 12:48:36 +01:00
|
|
|
|
2019-03-25 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libgfortran/79540
|
|
|
|
|
* io/write_float.def (build_float_string): Don't copy digits when
|
|
|
|
|
ndigits is negative.
|
|
|
|
|
|
2019-03-05 23:41:39 +01:00
|
|
|
|
2019-03-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libgfortran/89593
|
|
|
|
|
* caf/single.c (_gfortran_caf_sendget_by_ref): Cast &temp to
|
|
|
|
|
gfc_descriptor_t * to avoid warning.
|
|
|
|
|
|
2019-02-26 19:41:53 +01:00
|
|
|
|
2019-02-26 Uroš Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* io/transfer.c (transfer_array_inner): Do not
|
|
|
|
|
cast charlen to index_type.
|
|
|
|
|
|
2019-02-25 11:39:38 +01:00
|
|
|
|
2019-02-25 Dominique d'Humieres <dominiq@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/89274
|
|
|
|
|
* io/write.c (write_integer): Add width for INTEGER(16).
|
|
|
|
|
|
2019-02-23 13:18:44 +01:00
|
|
|
|
2019-02-23 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR fortran/89385
|
|
|
|
|
PR fortran/89366
|
|
|
|
|
* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the
|
|
|
|
|
interchange between character and derived, the character type
|
|
|
|
|
was being set incorrectly.
|
|
|
|
|
(gfc_desc_to_cfi_desc) : Eliminate the interchange of types in
|
|
|
|
|
this function. Do not add the kind and length information to
|
|
|
|
|
the type field of structures. Lbounds were incorrectly being
|
|
|
|
|
set to zero for allocatable and pointer descriptors. Should
|
|
|
|
|
have been non-pointer, non-allocatables that received this
|
|
|
|
|
treatment.
|
|
|
|
|
|
2019-01-30 21:44:35 +01:00
|
|
|
|
2019-01-30 Uroš Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
2019-01-31 23:59:36 +01:00
|
|
|
|
PR libfortran/88678
|
|
|
|
|
Revert:
|
|
|
|
|
2016-11-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
PR libfortran/78314
|
|
|
|
|
* config/fpu-glibc.h (support_fpu_trap): Use feenableexcept.
|
2019-01-30 21:44:35 +01:00
|
|
|
|
|
2019-01-30 16:04:06 +01:00
|
|
|
|
2019-01-30 Uroš Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
2019-01-31 23:59:36 +01:00
|
|
|
|
PR libfortran/88678
|
2019-01-30 16:04:06 +01:00
|
|
|
|
* config/fpu-glibc.h (set_fpu_trap_exceptions): Clear stalled
|
|
|
|
|
exception flags before changing trap mode. Optimize to call
|
|
|
|
|
feenableexcept and fedisableexcept only once.
|
|
|
|
|
|
2019-01-28 07:35:41 +01:00
|
|
|
|
2019-01-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION().
|
|
|
|
|
|
2019-01-27 20:42:34 +01:00
|
|
|
|
2019-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/89020
|
|
|
|
|
* io/close.c (st_close): Simplify text of error message to not
|
|
|
|
|
presume a specific cause of failure to remove file.
|
|
|
|
|
|
2019-01-27 02:36:40 +01:00
|
|
|
|
2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/89020
|
|
|
|
|
* io/close.c (st_close): Fix typo.
|
|
|
|
|
|
2019-01-26 21:27:16 +01:00
|
|
|
|
2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
2019-01-26 21:39:33 +01:00
|
|
|
|
PR libfortran/89020
|
2019-01-26 21:27:16 +01:00
|
|
|
|
* io/close.c (st_close): Generate error if calls to 'remove' return
|
|
|
|
|
an error.
|
|
|
|
|
|
2019-01-17 13:27:46 +01:00
|
|
|
|
2019-01-17 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
Kwok Cheung Yeung <kcy@codesourcery.com>
|
|
|
|
|
Julian Brown <julian@codesourcery.com>
|
|
|
|
|
Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Use minimal mode for amdgcn.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2019-01-14 01:22:00 +01:00
|
|
|
|
2019-01-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/88776
|
|
|
|
|
* io/open.c (newunit): Free format buffer if the unit specified is for
|
2019-02-23 13:18:44 +01:00
|
|
|
|
stdin, stdout, or stderr.
|
2019-01-14 01:22:00 +01:00
|
|
|
|
|
2019-01-13 00:06:47 +01:00
|
|
|
|
2019-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/88776
|
|
|
|
|
* io/list_read.c (namelist_read): Use nml_err_ret path on read error
|
|
|
|
|
not based on stdin_unit.
|
|
|
|
|
|
2019-01-12 16:25:52 +01:00
|
|
|
|
2019-01-12 Paul Thomas <pault@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* ISO_Fortran_binding.h : New file.
|
|
|
|
|
* Makefile.am : Include ISO_Fortran_binding.c in the list of
|
|
|
|
|
files to compile.
|
|
|
|
|
* Makefile.in : Regenerated.
|
|
|
|
|
* gfortran.map : Add _gfortran_cfi_desc_to_gfc_desc,
|
|
|
|
|
_gfortran_gfc_desc_to_cfi_desc and the CFI API functions.
|
|
|
|
|
* runtime/ISO_Fortran_binding.c : New file containing the new
|
|
|
|
|
functions added to the map.
|
|
|
|
|
|
2019-01-12 10:15:54 +01:00
|
|
|
|
2019-01-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libfortran/88807
|
|
|
|
|
* m4/minloc0.m4: Reindent to avoid -Wmisleading-indentation warnings.
|
|
|
|
|
* generated/minloc0_4_i1.c: Regenerated.
|
|
|
|
|
* generated/minloc0_4_i2.c: Regenerated.
|
|
|
|
|
* generated/minloc0_4_i4.c: Regenerated.
|
|
|
|
|
* generated/minloc0_4_i8.c: Regenerated.
|
|
|
|
|
* generated/minloc0_4_i16.c: Regenerated.
|
|
|
|
|
* generated/minloc0_4_r4.c: Regenerated.
|
|
|
|
|
* generated/minloc0_4_r8.c: Regenerated.
|
|
|
|
|
* generated/minloc0_4_r10.c: Regenerated.
|
|
|
|
|
* generated/minloc0_4_r16.c: Regenerated.
|
|
|
|
|
* generated/minloc0_8_i1.c: Regenerated.
|
|
|
|
|
* generated/minloc0_8_i2.c: Regenerated.
|
|
|
|
|
* generated/minloc0_8_i4.c: Regenerated.
|
|
|
|
|
* generated/minloc0_8_i8.c: Regenerated.
|
|
|
|
|
* generated/minloc0_8_i16.c: Regenerated.
|
|
|
|
|
* generated/minloc0_8_r4.c: Regenerated.
|
|
|
|
|
* generated/minloc0_8_r8.c: Regenerated.
|
|
|
|
|
* generated/minloc0_8_r10.c: Regenerated.
|
|
|
|
|
* generated/minloc0_8_r16.c: Regenerated.
|
|
|
|
|
* generated/minloc0_16_i1.c: Regenerated.
|
|
|
|
|
* generated/minloc0_16_i2.c: Regenerated.
|
|
|
|
|
* generated/minloc0_16_i4.c: Regenerated.
|
|
|
|
|
* generated/minloc0_16_i8.c: Regenerated.
|
|
|
|
|
* generated/minloc0_16_i16.c: Regenerated.
|
|
|
|
|
* generated/minloc0_16_r4.c: Regenerated.
|
|
|
|
|
* generated/minloc0_16_r8.c: Regenerated.
|
|
|
|
|
* generated/minloc0_16_r10.c: Regenerated.
|
|
|
|
|
* generated/minloc0_16_r16.c: Regenerated.
|
|
|
|
|
|
2019-01-09 22:37:45 +01:00
|
|
|
|
2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR other/16615
|
|
|
|
|
* caf/single.c: Mechanically replace "can not" with "cannot".
|
|
|
|
|
* io/unit.c: Likewise.
|
|
|
|
|
|
2019-01-07 20:30:28 +01:00
|
|
|
|
2019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
|
2019-01-12 10:15:54 +01:00
|
|
|
|
Harald Anlauf <anlauf@gmx.de>
|
|
|
|
|
Tobias Burnus <burnus@gcc.gnu.org>
|
2019-01-07 20:30:28 +01:00
|
|
|
|
|
|
|
|
|
PR fortran/45424
|
|
|
|
|
* Makefile.am: Add intrinsics/is_contiguous.c.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
* gfortran.map: Add _gfortran_is_contiguous0.
|
|
|
|
|
* intrinsics/is_contiguous.c: New file.
|
|
|
|
|
* libgfortran.h: Add prototype for is_contiguous0.
|
|
|
|
|
|
2019-01-07 07:40:37 +01:00
|
|
|
|
2019-01-07 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* gfortran.map (GFORTRAN_9): Make GFORTRAN_9 node depend on
|
|
|
|
|
GFORTRAN_8.
|
|
|
|
|
|
2019-01-01 13:31:55 +01:00
|
|
|
|
2019-01-01 Jakub Jelinek <jakub@redhat.com>
|
2018-01-03 11:03:58 +01:00
|
|
|
|
|
|
|
|
|
Update copyright years.
|
2016-01-04 15:30:50 +01:00
|
|
|
|
|
2019-01-01 13:31:55 +01:00
|
|
|
|
Copyright (C) 2019 Free Software Foundation, Inc.
|
2010-01-04 09:59:59 +01:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|