504 lines
16 KiB
Plaintext
504 lines
16 KiB
Plaintext
2022-05-27 Release Manager
|
||
|
||
* GCC 9.5.0 released.
|
||
|
||
2021-12-27 Harald Anlauf <anlauf@gmx.de>
|
||
|
||
Backported from master:
|
||
2021-12-14 Harald Anlauf <anlauf@gmx.de>
|
||
|
||
PR libfortran/103634
|
||
* intrinsics/pack_generic.c (pack_internal): Handle case when the
|
||
array argument of PACK has one or more extents of size zero to
|
||
avoid invalid reads.
|
||
|
||
2021-06-01 Release Manager
|
||
|
||
* GCC 9.4.0 released.
|
||
|
||
2021-05-01 Iain Sandoe <iain@sandoe.co.uk>
|
||
Jakub Jelinek <jakub@redhat.com>
|
||
|
||
PR target/97865
|
||
* configure: Regenerate.
|
||
|
||
2021-04-30 Iain Sandoe <iain@sandoe.co.uk>
|
||
|
||
* configure: Regenerate.
|
||
|
||
2021-03-07 Harald Anlauf <anlauf@gmx.de>
|
||
|
||
Backported from master:
|
||
2021-03-05 Harald Anlauf <anlauf@gmx.de>
|
||
|
||
PR libfortran/99218
|
||
* m4/matmul_internal.m4: Invoke tuned matmul only for rank(b)>1.
|
||
* generated/matmul_c10.c: Regenerated.
|
||
* generated/matmul_c16.c: Likewise.
|
||
* generated/matmul_c4.c: Likewise.
|
||
* generated/matmul_c8.c: Likewise.
|
||
* generated/matmul_i1.c: Likewise.
|
||
* generated/matmul_i16.c: Likewise.
|
||
* generated/matmul_i2.c: Likewise.
|
||
* generated/matmul_i4.c: Likewise.
|
||
* generated/matmul_i8.c: Likewise.
|
||
* generated/matmul_r10.c: Likewise.
|
||
* generated/matmul_r16.c: Likewise.
|
||
* generated/matmul_r4.c: Likewise.
|
||
* generated/matmul_r8.c: Likewise.
|
||
* generated/matmulavx128_c10.c: Likewise.
|
||
* generated/matmulavx128_c16.c: Likewise.
|
||
* generated/matmulavx128_c4.c: Likewise.
|
||
* generated/matmulavx128_c8.c: Likewise.
|
||
* generated/matmulavx128_i1.c: Likewise.
|
||
* generated/matmulavx128_i16.c: Likewise.
|
||
* generated/matmulavx128_i2.c: Likewise.
|
||
* generated/matmulavx128_i4.c: Likewise.
|
||
* generated/matmulavx128_i8.c: Likewise.
|
||
* generated/matmulavx128_r10.c: Likewise.
|
||
* generated/matmulavx128_r16.c: Likewise.
|
||
* generated/matmulavx128_r4.c: Likewise.
|
||
* generated/matmulavx128_r8.c: Likewise.
|
||
|
||
2020-12-29 Iain Sandoe <iain@sandoe.co.uk>
|
||
|
||
Backported from master:
|
||
2020-11-21 Iain Sandoe <iain@sandoe.co.uk>
|
||
|
||
* intrinsics/execute_command_line.c (environ): Use
|
||
_NSGetEnviron to get the environment pointer on Darwin.
|
||
|
||
2020-10-24 Harald Anlauf <anlauf@gmx.de>
|
||
|
||
Backported from master:
|
||
2020-10-18 Harald Anlauf <anlauf@gmx.de>
|
||
|
||
* m4/matmul_internal.m4: Move check for rank-1 times rank-2 before
|
||
checks on strides for rank-2 times rank-2.
|
||
* generated/matmul_c10.c: Regenerated.
|
||
* generated/matmul_c16.c: Likewise.
|
||
* generated/matmul_c4.c: Likewise.
|
||
* generated/matmul_c8.c: Likewise.
|
||
* generated/matmul_i1.c: Likewise.
|
||
* generated/matmul_i16.c: Likewise.
|
||
* generated/matmul_i2.c: Likewise.
|
||
* generated/matmul_i4.c: Likewise.
|
||
* generated/matmul_i8.c: Likewise.
|
||
* generated/matmul_r10.c: Likewise.
|
||
* generated/matmul_r16.c: Likewise.
|
||
* generated/matmul_r4.c: Likewise.
|
||
* generated/matmul_r8.c: Likewise.
|
||
* generated/matmulavx128_c10.c: Likewise.
|
||
* generated/matmulavx128_c16.c: Likewise.
|
||
* generated/matmulavx128_c4.c: Likewise.
|
||
* generated/matmulavx128_c8.c: Likewise.
|
||
* generated/matmulavx128_i1.c: Likewise.
|
||
* generated/matmulavx128_i16.c: Likewise.
|
||
* generated/matmulavx128_i2.c: Likewise.
|
||
* generated/matmulavx128_i4.c: Likewise.
|
||
* generated/matmulavx128_i8.c: Likewise.
|
||
* generated/matmulavx128_r10.c: Likewise.
|
||
* generated/matmulavx128_r16.c: Likewise.
|
||
* generated/matmulavx128_r4.c: Likewise.
|
||
* generated/matmulavx128_r8.c: Likewise.
|
||
|
||
2020-09-09 Harald Anlauf <anlauf@gmx.de>
|
||
|
||
Backported from master:
|
||
2020-09-03 Harald Anlauf <anlauf@gmx.de>
|
||
|
||
* m4/iall.m4: Initial value for result should be -1.
|
||
* generated/iall_i1.c (miall_i1): Generated.
|
||
* generated/iall_i16.c (miall_i16): Likewise.
|
||
* generated/iall_i2.c (miall_i2): Likewise.
|
||
* generated/iall_i4.c (miall_i4): Likewise.
|
||
* generated/iall_i8.c (miall_i8): Likewise.
|
||
|
||
2020-08-24 Mark Eggleston <markeggleston@gcc.gnu.org>
|
||
|
||
Backported from master:
|
||
2020-08-24 Mark Eggleston <markeggleston@gcc.gnu.org>
|
||
|
||
PR fortran/96486
|
||
* intrinsics/env.c: If value_len is > 0 blank the string.
|
||
Copy the result only if its length is > 0.
|
||
|
||
2020-07-25 Dominique d'Humieres <dhumieres.dominique@free.fr>
|
||
|
||
Backported from master:
|
||
2020-07-24 Dominique d'Humieres <dhumieres.dominique@free.fr>
|
||
|
||
PR fortran/93592
|
||
* io/write_float.def (build_float_string): Do not reset
|
||
nbefore for FMT_F and FMT_EN.
|
||
|
||
2020-05-28 Harald Anlauf <anlauf@gmx.de>
|
||
|
||
PR libfortran/95104
|
||
* io/unit.c (unlock_unit): Guard by check for NULL pointer.
|
||
|
||
2020-05-27 Harald Anlauf <anlauf@gmx.de>
|
||
Steven G. Kargl <kargl@gcc.gnu.org>
|
||
|
||
PR libfortran/95104
|
||
* io/transfer.c (st_wait_async): Do not dereference NULL pointer.
|
||
|
||
2020-05-27 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||
|
||
PR libfortran/95191
|
||
* io/async.c (async_wait_id): Generate error if ID is higher
|
||
than the highest current ID.
|
||
* runtime/error.c (translate_error): Handle LIBERROR_BAD_WAIT_ID.
|
||
|
||
2020-05-22 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||
|
||
PR libfortran/95119
|
||
* io/close.c (close_status): Add CLOSE_INVALID.
|
||
(st_close): Return early on invalid STATUS parameter.
|
||
|
||
2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
|
||
|
||
* config/fpu-387.h (local_feraiseexcept) [__SSE_MATH__]:
|
||
Remove unneeded assignments to volatile memory.
|
||
|
||
2020-03-12 Release Manager
|
||
|
||
* GCC 9.3.0 released.
|
||
|
||
2020-02-22 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||
|
||
Backport from trunk
|
||
PR fortran/93599
|
||
* io/async.c (destroy_adv_cond): Do not destroy lock.
|
||
(async_io): Make sure au->lock is locked for finishing of thread.
|
||
Do not lock/unlock around signalling emptysignal. Unlock au->lock
|
||
before return.
|
||
(init_adv_cond): Do not initialize lock.
|
||
(enqueue_transfer): Unlock after signal.
|
||
(enqueue_done_id): Likewise.
|
||
(enqueue_done): Likewise.
|
||
(enqueue_close): Likewise.
|
||
(enqueue_data_transfer): Likewise.
|
||
(async_wait_id): Do not lock/unlock around signalling au->work.
|
||
(async_wait): Unlock after signal.
|
||
* io/async.h (SIGNAL): Add comment about needed au->lock.
|
||
Remove locking/unlocking of advcond->lock.
|
||
(WAIT_SIGNAL_MUTEX): Add comment. Remove locking/unlocking of
|
||
advcond->lock. Unlock mutex only at the end. Loop on
|
||
__ghread_cond_wait returning zero.
|
||
(REVOKE_SIGNAL): Add comment. Remove locking/unlocking of
|
||
advcond->lock.
|
||
(struct adv_cond): Remove mutex from struct.
|
||
|
||
2020-01-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||
|
||
Backport from mainline
|
||
PR libfortran/93234
|
||
* io/unit.c (set_internal_unit): Set round and sign flags
|
||
correctly.
|
||
|
||
2019-11-26 Jerry DeLisle <jvdelisle@gcc.ngu.org>
|
||
|
||
Backport from mainline
|
||
PR fortran/92100
|
||
io/transfer.c (data_transfer_init_worker): Use fbuf_reset
|
||
instead of fbuf_flush before the seek. Note that fbuf_reset
|
||
calls fbuf_flush and adjusts fbuf pointers.
|
||
|
||
2019-11-25 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||
Harald Anlauf <anlauf@gmx.de>
|
||
|
||
Backport from trunk
|
||
PR fortran/92569
|
||
* io/transfer.c (transfer_array_inner): If position is
|
||
at AFTER_ENDFILE in current unit, return from data loop.
|
||
|
||
2019-11-13 Tobias Burnus <tobias@codesourcery.com>
|
||
|
||
Backport from mainline
|
||
2019-11-13 Tobias Burnus <tobias@codesourcery.com>
|
||
|
||
PR fortran/92470
|
||
* runtime/ISO_Fortran_binding.c (CFI_establish): Set lower_bound to 0
|
||
also for CFI_attribute_other.
|
||
|
||
2019-11-12 Tobias Burnus <tobias@codesourcery.com>
|
||
|
||
PR fortran/92470
|
||
* runtime/ISO_Fortran_binding.c (CFI_address): Handle non-zero
|
||
lower_bound; update error message.
|
||
(CFI_allocate): Fix comment typo.
|
||
(CFI_establish): Fix identation, fix typos, don't check values of 'dv'
|
||
argument.
|
||
|
||
2019-08-13 Janne Blomqvist <jb@gcc.gnu.org>
|
||
|
||
Partial backport from trunk
|
||
PR fortran/91414
|
||
* intrinsics/random.c (lcg_parkmiller): Replace with splitmix64.
|
||
(splitmix64): New function.
|
||
(getosrandom): Fix return value, simplify.
|
||
(init_rand_state): Use getosrandom only to get 8 bytes, splitmix64
|
||
to fill rest of state.
|
||
|
||
2019-08-12 Release Manager
|
||
|
||
* GCC 9.2.0 released.
|
||
|
||
2019-07-23 Thomas König <tkoenig@gcc.gnu.org>
|
||
|
||
Backport from trunk
|
||
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-05-20 Janne Blomqvist <jb@gcc.gnu.org>
|
||
|
||
Backport from trunk
|
||
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-20 Janne Blomqvist <jb@gcc.gnu.org>
|
||
|
||
Backport from trunk
|
||
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 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
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.
|
||
|
||
PR fortran/54613
|
||
* gfortran.map (GFORTRAN_9.2): New symbol version, export
|
||
_gfortran_{,m,s}findloc0_i2 in it.
|
||
|
||
2019-05-03 Release Manager
|
||
|
||
* GCC 9.1.0 released.
|
||
|
||
2019-05-02 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
* Makefile.am (gfor_cdir): Remove $(MULTISUBDIR).
|
||
* Makefile.in: Regenerated.
|
||
|
||
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 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 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 Uroš Bizjak <ubizjak@gmail.com>
|
||
|
||
* io/transfer.c (transfer_array_inner): Do not
|
||
cast charlen to index_type.
|
||
|
||
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 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 Uroš Bizjak <ubizjak@gmail.com>
|
||
|
||
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 Uroš Bizjak <ubizjak@gmail.com>
|
||
|
||
PR libfortran/88678
|
||
* 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 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||
|
||
* io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION().
|
||
|
||
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-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||
|
||
PR libfortran/89020
|
||
* io/close.c (st_close): Fix typo.
|
||
|
||
2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||
|
||
PR libfortran/89020
|
||
* io/close.c (st_close): Generate error if calls to 'remove' return
|
||
an error.
|
||
|
||
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-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||
|
||
PR libfortran/88776
|
||
* io/open.c (newunit): Free format buffer if the unit specified is for
|
||
stdin, stdout, or stderr.
|
||
|
||
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 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 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 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
PR other/16615
|
||
* caf/single.c: Mechanically replace "can not" with "cannot".
|
||
* io/unit.c: Likewise.
|
||
|
||
2019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||
Harald Anlauf <anlauf@gmx.de>
|
||
Tobias Burnus <burnus@gcc.gnu.org>
|
||
|
||
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 Janne Blomqvist <jb@gcc.gnu.org>
|
||
|
||
* gfortran.map (GFORTRAN_9): Make GFORTRAN_9 node depend on
|
||
GFORTRAN_8.
|
||
|
||
2019-01-01 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
Update copyright years.
|
||
|
||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||
|
||
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.
|