Daily bump.

This commit is contained in:
GCC Administrator
2026-02-27 00:16:38 +00:00
parent dc2f983e52
commit f529219e1e
13 changed files with 542 additions and 1 deletions

View File

@@ -1,3 +1,66 @@
2026-02-26 Vladimir N. Makarov <vmakarov@redhat.com>
PR target/115042
* lra-int.h (lra_constraint_insn_stack_clear): New prototype.
* lra.cc (lra_constraint_insn_stack2): New vector.
(lra_constraint_insn_stack_clear): New function.
(lra): Initialize/finalize lra_constraint_insn_stack2.
* lra-constraints.cc (lra_constraints): Use
lra_constraint_insn_stack_clear to postpone processing new reload
insns.
2026-02-26 Robin Dapp <rdapp@oss.qualcomm.com>
PR target/122448
* config/riscv/riscv-vsetvl.cc (compute_reaching_defintion):
Rename...
(compute_reaching_definition): ...To this.
(pre_vsetvl::compute_vsetvl_def_data): Compute reaching
definitions for vsetvl VL -> vsetvl AVL.
(pre_vsetvl::compute_transparent): Include VL uses.
(pre_vsetvl::fuse_local_vsetvl_info): Initialize m_reg_use_loc.
(pre_vsetvl::earliest_fuse_vsetvl_info): Don't hoist if any
successor would use VL.
2026-02-26 Xi Ruoyao <xry111@xry111.site>
PR middle-end/124250
PR target/123807
* optabs.cc (expand_vector_broadcast): Add a checking assert to
verify the precondition about the input modes.
(expand_binop): Extend the shift amount if it's narrower than
the element of the shifted vector.
2026-02-26 Roger Sayle <roger@nextmovesoftware.com>
PR target/124194
* config/i386/sse.md (*<avx512>_cmp<mode>3_dup_op): Also return
CONSTM1_RTX for the case cmp_imm == 7 (predicate TRUE).
2026-02-26 Roger Sayle <roger@nextmovesoftware.com>
PR c/119651
PR c/123472
* fold-const.cc (tree_nonzero_bits): Rename the original as a
static function taking an additional precision parameter. Make
this implementation robust to error_mark_node. Preserve the
original API by checking for error_operand_p before invoking the
static helper function.
2026-02-26 H.J. Lu <hjl.tools@gmail.com>
PR target/119979
PR target/120888
* targhooks.cc (default_promote_function_mode_sign_extend): New.
* targhooks.h (default_promote_function_mode_sign_extend):
Likewise.
* config/mcore/mcore.cc (TARGET_PROMOTE_FUNCTION_MODE): Use
default_promote_function_mode_sign_extend.
(TARGET_PROMOTE_PROTOTYPES): Removed.
* config/xtensa/xtensa.cc (xtensa_promote_function_mode): Removed.
(TARGET_PROMOTE_FUNCTION_MODE): Use
default_promote_function_mode_sign_extend.
2026-02-25 Philipp Tomsich <philipp.tomsich@vrull.eu>
* avoid-store-forwarding.cc

View File

@@ -1 +1 @@
20260226
20260227

View File

@@ -1,3 +1,11 @@
2026-02-26 Eric Botcazou <ebotcazou@adacore.com>
PR ada/124201
* exp_aggr.adb (Expand_Iterated_Component): Replace the iteration
variable in the key expression and iterator filter, if any.
* sem_aggr.adb (Resolve_Iterated_Component_Association): Preanalyze
the specification and key expression directly.
2026-02-25 Eric Botcazou <ebotcazou@adacore.com>
PR ada/124226

View File

@@ -1,3 +1,8 @@
2026-02-26 James Bohl <bohlj47@gmail.com>
* a68-low-units.cc (a68_lower_denotation): Add error on
integral denotation overflow.
2026-02-25 Jose E. Marchesi <jemarch@gnu.org>
* a68-imports-archive.cc (Archive_file): Handle Darwin #1/NN

View File

@@ -1,3 +1,9 @@
2026-02-26 David Malcolm <dmalcolm@redhat.com>
PR analyzer/124232
* kf.cc (kf_putenv::impl_call_pre): Use base region when marking
pointer as having escaped.
2026-02-24 David Malcolm <dmalcolm@redhat.com>
PR analyzer/124188

View File

@@ -1,3 +1,14 @@
2026-02-26 Robert Dubner <rdubner@symas.com>
* parse.y: BASECONVERT and TRIM take their type from their first
parameter.
* parse_util.h (intrinsic_return_field): The function_descrs[] is
adjusted so that a number of functions take their return type from
their first calling parameter. intrinsic_return_field() has been
refined.
* symbols.cc (new_alphanumeric): Use set_explicit() instead of
set() in support of refined intrinsic function return type.
2026-02-24 Robert Dubner <rdubner@symas.com>
* gcobc: Adjust how -fPIC is applied, and other refinements.

View File

@@ -1,3 +1,21 @@
2026-02-26 Marek Polacek <polacek@redhat.com>
PR c++/124204
* reflect.cc (eval_can_substitute): Call convert_from_reference.
2026-02-26 Marek Polacek <polacek@redhat.com>
PR c++/123662
PR c++/123611
* cvt.cc (convert_to_void): Only call check_out_of_consteval_use
when stmts_are_full_exprs_p.
2026-02-26 Marek Polacek <polacek@redhat.com>
Jakub Jelinek <jakub@redhat.com>
PR c++/124215
* reflect.cc (class_members_of): Use TYPE_MAIN_VARIANT of R.
2026-02-25 Marek Polacek <polacek@redhat.com>
* reflect.cc (check_out_of_consteval_use_r): Walk BIND_EXPR_BODY.

View File

@@ -1,3 +1,52 @@
2026-02-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/88076
* invoke.texi: Use corrected english.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* trans-intrinsic.cc (conv_caf_send_to_remote): Fix treating constant
char arrays when used in coarray sends.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/121360
* resolve.cc: Introduce temporary holding rhs when lhs is a
coarray expresssion.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* invoke.texi: Document new environment variable GFORTRAN_IMAGE_
RESTARTS_LIMIT.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/88076
* invoke.texi: Add description for use.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* trans-expr.cc (get_scalar_to_descriptor_type): Fix coarray
generation.
(copy_coarray_desc_part): New function to copy coarray dimensions.
(gfc_class_array_data_assign): Use the new function.
(gfc_conv_derived_to_class): Same.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* check.cc (gfc_check_image_status): Fix argument index of team=
argument for correct error message.
* trans-intrinsic.cc (conv_intrinsic_image_status): Team=
argument is optional and is a pointer to the team handle.
* trans-stmt.cc (gfc_trans_sync): Make images argument also a
dereferencable pointer. But treat errmsg as a pointer to a
char array like in all other functions.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* check.cc (gfc_check_failed_or_stopped_images): Support teams
argument and check for incorrect type.
2026-02-25 Christopher Albert <albert@tugraz.at>
PR fortran/124235

View File

@@ -1,3 +1,153 @@
2026-02-26 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/generic_inst17.adb: New test.
2026-02-26 Marek Polacek <polacek@redhat.com>
PR c++/124204
* g++.dg/reflect/substitute5.C: New test.
2026-02-26 Steve Kargl <kargls@comcast.net>
PR fortran/88076
* gfortran.dg/coarray/caf.exp: If the target is a FreeBSD
system add -pthread when running tests.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* gfortran.dg/coarray/caf.exp: Only add caf_shmem to tests when
is build.
2026-02-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/121360
* gfortran.dg/coarray/lock_3.f90: New test.
2026-02-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/121429
* gfortran.dg/coarray/lock_1.f90: Updated.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/121429
* gfortran.dg/coarray/deallocate_sync.f90: New test.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/124071
* gfortran.dg/coarray/form_team_1.f90: New test.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/88076
* gfortran.dg/coarray/alloc_comp_4.f90: Make multi image
compatible.
* gfortran.dg/coarray/atomic_2.f90: Same.
* gfortran.dg/coarray/caf.exp: Also test caf_shmem and choose
eight images as a default.
* gfortran.dg/coarray/coarray_allocated.f90: Add multi image
support.
* gfortran.dg/coarray/coindexed_1.f90: Same.
* gfortran.dg/coarray/coindexed_3.f08: Same.
* gfortran.dg/coarray/coindexed_5.f90: Same.
* gfortran.dg/coarray/dummy_3.f90: Same.
* gfortran.dg/coarray/event_1.f90: Same.
* gfortran.dg/coarray/event_3.f08: Same.
* gfortran.dg/coarray/event_4.f08: Same.
* gfortran.dg/coarray/failed_images_2.f08: Same.
* gfortran.dg/coarray/image_status_1.f08: Same.
* gfortran.dg/coarray/image_status_2.f08: Same.
* gfortran.dg/coarray/lock_2.f90: Same.
* gfortran.dg/coarray/poly_run_3.f90: Same.
* gfortran.dg/coarray/scalar_alloc_1.f90: Same.
* gfortran.dg/coarray/stopped_images_2.f08: Same.
* gfortran.dg/coarray/sync_1.f90: Same.
* gfortran.dg/coarray/sync_3.f90: Same.
* gfortran.dg/coarray/co_reduce_string.f90: New test.
* gfortran.dg/coarray/sync_team.f90: New test.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* gfortran.dg/coarray_sync_memory.f90: Adapt grep pattern for
msg being only &msg.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* gfortran.dg/coarray/failed_images_1.f08: Adapt check of error
message.
* gfortran.dg/coarray/stopped_images_1.f08: Same.
2026-02-26 Matthieu Longo <matthieu.longo@arm.com>
* gcc.target/aarch64/bti-1.c: Update.
2026-02-26 Robin Dapp <rdapp@oss.qualcomm.com>
PR target/122448
* g++.target/riscv/rvv/base/pr122448.C: New test.
2026-02-26 Karl Meakin <karl.meakin@arm.com>
* gcc.target/aarch64/cmpbr-3.c: `dg-do assemble` => `dg-do compile`.
2026-02-26 Marek Polacek <polacek@redhat.com>
PR c++/123662
PR c++/123611
* g++.dg/reflect/reflect_constant_array5.C: New test.
* g++.dg/reflect/reflect_constant_array6.C: New test.
2026-02-26 Xi Ruoyao <xry111@xry111.site>
PR middle-end/124250
PR target/123807
* gcc.c-torture/compile/pr124250.c: New test.
2026-02-26 Marek Polacek <polacek@redhat.com>
Jakub Jelinek <jakub@redhat.com>
PR c++/124215
* g++.dg/reflect/members_of9.C: New test.
2026-02-26 James Bohl <bohlj47@gmail.com>
* algol68/compile/error-denotation-1.a68: New test.
* algol68/compile/error-denotation-2.a68: Likewise.
* algol68/compile/error-denotation-3.a68: Likewise.
* algol68/execute/plusab-1.a68: Fixed denotation overflow.
2026-02-26 Roger Sayle <roger@nextmovesoftware.com>
PR target/124194
* gcc.target/i386/pr124194.c: New test case.
2026-02-26 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
* g++.dg/gcov/gcov-threads-1.C: Add require effective target
pthread.
2026-02-26 Roger Sayle <roger@nextmovesoftware.com>
PR c/119651
PR c/123472
* gcc.dg/pr119651.c: New test case.
* gcc.dg/pr123472.c: Likewise.
2026-02-26 H.J. Lu <hjl.tools@gmail.com>
PR target/119979
PR target/120888
* gcc.target/xtensa/pr120888-1.c: Removed to ...
* gcc.dg/zero-extend.c: This. Enable for mcore and xtensa.
* gcc.target/xtensa/pr120888-2.c: Removed to ...
* gcc.dg/sign-extend.c: This. Enable for mcore and xtensa.
2026-02-26 David Malcolm <dmalcolm@redhat.com>
PR analyzer/124232
* gcc.dg/analyzer/putenv-ice-pr124232.c: New test.
2026-02-25 Jose E. Marchesi <jemarch@gnu.org>
* algol68/execute/trimmer-13.a68: New test.

View File

@@ -1,3 +1,8 @@
2026-02-26 Robert Dubner <rdubner@symas.com>
* intrinsic.cc (__gg__trim): Rewritten to work properly, and avoid
unnecessary variable codeset encoding translation.
2026-02-24 Robert Dubner <rdubner@symas.com>
* intrinsic.cc (string_to_dest): Move call to

View File

@@ -1,3 +1,200 @@
2026-02-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/88076
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* Makefile.am: Only build caf_shmem when pthreads is available.
* configure.ac: Check for pthreads availability and needed
flags.
2026-02-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/124080
* caf/shmem/hashmap.c (hash): Use size_t instead of
uint64.
(hmiadd): Use size_t instead of ssize_t.
(scan_inside_lookahead): Likewise.
(scan_empty): Likewise.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/121429
* caf/shmem.c (_gfortran_caf_deregister): Add a call to
sync_team.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/124071
* caf/shmem.c (_gfortran_caf_form_team): Take free index, when
computed one is already taken.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/88076
* Makefile.am: Add new library.
* Makefile.in: Regenerated
* acinclude.m4: Add check for reasonable clzl.
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Call clzl check.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* caf/shmem.c (_gfortran_caf_finalize): Add a sync on the
initial team on exit.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* caf/shmem.c (_gfortran_caf_finalize): Ensure all memory is
freeed.
* caf/shmem/allocator.c (allocator_shared_malloc): Just assert
that an index is within its bounds.
* caf/shmem/shared_memory.c (shared_memory_init): When shared
memory can not be placed at desired address, exit the image with
a certain code to let the supervisor restart the image.
(shared_memory_cleanup): Only the supervisor must unlink the shm
object.
* caf/shmem/supervisor.c (GFORTRAN_ENV_IMAGE_RESTARTS_LIMITS):
New environment variable.
(get_image_restarts_limit): Get the limit on image restarts
(accumulates over all) form the environment variable or default
to 4000.
(ensure_shmem_initialization): Add error handling.
(startWorker): Start a single worker/image.
(kill_all_images): Kill all images.
(supervisor_main_loop): When a worker/image reports a shared
memory issue just try to restart it.
* caf/shmem/thread_support.c (initialize_shared_mutex): Mark
mutex robust on plattforms that support it.
(initialize_shared_errorcheck_mutex): Same.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* caf/shmem.c (_gfortran_caf_init): Cleanup thread helper after
use.
(_gfortran_caf_finalize): Same.
(_gfortran_caf_register): Handle lock_t correctly on Windows.
(GEN_OP): Prevent warnings on non-initialized.
(_gfortran_caf_lock): Handle lock_t correctly on Windows.
(_gfortran_caf_unlock): Same.
(_gfortran_caf_random_init): Fix formatting.
(_gfortran_caf_form_team): Add more images to counter_barrier.
* caf/shmem/alloc.c: Use routines from thread_support.
* caf/shmem/allocator.c (allocator_lock): Same.
(allocator_unlock): Same.
* caf/shmem/allocator.h: Same.
* caf/shmem/collective_subroutine.c (get_collsub_buf): Same.
* caf/shmem/collective_subroutine.h: Same.
* caf/shmem/counter_barrier.c (lock_counter_barrier): Same.
(unlock_counter_barrier): Same.
(counter_barrier_init): Same.
(counter_barrier_wait): Same.
(change_internal_barrier_count): Same.
(counter_barrier_add): Same.
(counter_barrier_init_add): Only increase value w/o signaling.
(counter_barrier_get_count): Use routines from thread_support.
* caf/shmem/counter_barrier.h: Same.
(counter_barrier_init_add): New routine.
* caf/shmem/shared_memory.c: Use windows routines where
applicable.
(shared_memory_set_env): Same.
(shared_memory_get_master): Same.
(shared_memory_init): Same.
(shared_memory_cleanup): Same.
* caf/shmem/shared_memory.h: Use types from thread_support.
* caf/shmem/supervisor.c: Use windows routines where applicable.
(get_memory_size_from_envvar): Same.
(ensure_shmem_initialization): Same.
(supervisor_main_loop): Use windows process start on windows
without fork().
* caf/shmem/supervisor.h: Use types from thread_support.
* caf/shmem/sync.c (lock_table): Use routines from thread_support.
(unlock_table): Same.
(sync_init): Same.
(sync_init_supervisor): Same.
(sync_table): Same.
(lock_event): Same.
(unlock_event): Same.
(event_post): Same.
(event_wait): Same.
* caf/shmem/sync.h: Use types from thread_support.
* caf/shmem/teams_mgmt.c (update_teams_images): Use routines from
thread_support.
* caf/shmem/thread_support.c: Add synchronisation primitives for
windows.
(smax): Windows only: Max for size_t.
(get_handle): Windows only: Get the windows handle for a given
id or create a new one, if it does not exist.
(get_mutex): Windows only: Shortcut for getting a windows mutex
handle.
(get_condvar): Windows only: Same, but for condition variable.
(thread_support_init_supervisor): Windows only: Clear tracker of
allocated handle ids.
(caf_shmem_mutex_lock): Windows only: Implememtation of lock,
(caf_shmem_mutex_trylock): Windows only: trylock, and
(caf_shmem_mutex_unlock): Windows only: unlock for Windows.
(bm_is_set): Windows only: Check a bit is set in a mask.
(bm_clear_bit): Windows only: Clear a bit in a mask.
(bm_set_mask): Windows only: Set all bits in a mask.
(bm_is_none): Windows only: Check if all bits are cleared.
(caf_shmem_cond_wait): Windows only: Condition variable
implemenation fro wait,
(caf_shmem_cond_broadcast): Windows only: broadcast, and
(caf_shmem_cond_signal): Windows only: signal on Windows.
(caf_shmem_cond_update_count): Windows only: Need to know the
images participating in a condition variable.
(thread_support_cleanup): Windows only: Clean up the handles on
exit.
* caf/shmem/thread_support.h: Conditionally compile the types
as required for Windows and other OSes.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* caf/shmem/allocator.c (next_power_of_two): Use sane clzl
implementation or alternative.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/88076
* caf/libcaf.h (LIBCAF_H): Remove unused header inclusions.
* caf/caf_error.c: New file.
* caf/caf_error.h: New file.
* caf/shmem.c: New file.
* caf/shmem/alloc.c: New file.
* caf/shmem/alloc.h: New file.
* caf/shmem/allocator.c: New file.
* caf/shmem/allocator.h: New file.
* caf/shmem/collective_subroutine.c: New file.
* caf/shmem/collective_subroutine.h: New file.
* caf/shmem/counter_barrier.c: New file.
* caf/shmem/counter_barrier.h: New file.
* caf/shmem/hashmap.c: New file.
* caf/shmem/hashmap.h: New file.
* caf/shmem/shared_memory.c: New file.
* caf/shmem/shared_memory.h: New file.
* caf/shmem/supervisor.c: New file.
* caf/shmem/supervisor.h: New file.
* caf/shmem/sync.c: New file.
* caf/shmem/sync.h: New file.
* caf/shmem/teams_mgmt.c: New file.
* caf/shmem/teams_mgmt.h: New file.
* caf/shmem/thread_support.c: New file.
* caf/shmem/thread_support.h: New file.
2026-02-26 Andre Vehreschild <vehre@gcc.gnu.org>
* caf/libcaf.h (_gfortran_caf_failed_images): Team attribute is
used now in some libs.
(_gfortran_caf_image_status): Same.
(_gfortran_caf_stopped_images): Same.
* caf/single.c (caf_internal_error): Use correct printf function
to handle va_list.
2026-01-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/123012

View File

@@ -1,3 +1,11 @@
2026-02-26 Ruslan Valiyev <linuxoid@gmail.com>
PR demangler/106641
* rust-demangle.c (demangle_binder): Reject bound_lifetimes
above 1024 to prevent resource exhaustion from crafted symbols.
Add rdm->errored check in the loop condition.
* testsuite/rust-demangle-expected: Add regression test.
2026-02-25 Iain Sandoe <iain@sandoe.co.uk>
* simple-object-mach-o.c

View File

@@ -1,3 +1,24 @@
2026-02-26 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
* testsuite/29_atomics/atomic_ref/requirements_neg.cc: Add
using std::size_t.
2026-02-26 Yuao Ma <c8ef@outlook.com>
* include/bits/atomic_base.h (__atomic_base<_PTp*>::fetch_min,
__atomic_base<_PTp*>::fetch_max,
__atomic_ref<_Pt, false, false, true>::fetch_min,
__atomic_ref<_Pt, false, false, true>::fetch_max): Define new
functions.
* include/std/atomic (atomic<_Tp*>::fetch_min,
atomic<_Tp*>::fetch_max): Likewise.
(atomic_fetch_min_explicit, atomic_fetch_max_explicit,
atomic_fetch_min, atomic_fetch_max): Change parameter from
__atomic_base<_ITp>* to atomic<_Tp>*.
* testsuite/29_atomics/atomic/pointer_fetch_minmax.cc: New test.
* testsuite/29_atomics/atomic_ref/pointer_fetch_minmax.cc: New
test.
2026-02-25 Nathan Myers <ncm@cantrip.org>
PR libstdc++/117404