diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 07df35d79aa..8e512cf8851 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,101 @@ +2024-08-09 Jeff Law + + PR target/116283 + * config/riscv/bitmanip.md (Zbs combiner patterns/splitters): Mask the + bit position in the split code appropriately. + +2024-08-09 Kyrylo Tkachov + + Revert: + 2024-08-08 Surya Kumari Jangala + + PR rtl-optimization/116028 + * lra-constraints.cc (split_reg): Spill register before call + insn. + (latest_call_insn): New variable. + (inherit_in_ebb): Track the latest call insn. + +2024-08-09 Andrew MacLeod + + PR tree-optimization/114855 + * gimple-range-gori.cc (gori_compute::gori_compute): Adjust + ranger_recompute_depth limit based on the number of BBs. + (gori_compute::may_recompute_p): Use previosuly calculated value. + * gimple-range-gori.h (gori_compute::m_recompute_depth): New. + +2024-08-09 Andrew MacLeod + + PR tree-optimization/114855 + * gimple-range-cache.cc (ranger_cache::fill_block_cache): Do not + process equivalencies if the number of blocks is too high. + +2024-08-09 Raphael Moreira Zinsly + + * config/riscv/riscv.cc (riscv_compute_frame_info): Update + outgoing args size. + (riscv_stack_clash_protection_alloca_probe_range): New. + (TARGET_STACK_CLASH_PROTECTION_ALLOCA_PROBE_RANGE): New. + * config/riscv/riscv.h + (STACK_CLASH_MIN_BYTES_OUTGOING_ARGS): New. + (STACK_DYNAMIC_OFFSET): New. + +2024-08-09 Raphael Moreira Zinsly + + * config/riscv/riscv.cc + (riscv_allocate_and_probe_stack_loop): New function. + (riscv_v_adjust_scalable_frame): Add stack-clash protection + support. + (riscv_allocate_and_probe_stack_space): Move the probe loop + implementation to riscv_allocate_and_probe_stack_loop. + * config/riscv/riscv.h: Define RISCV_STACK_CLASH_VECTOR_CFA_REGNUM. + +2024-08-09 Raphael Moreira Zinsly + + * config/riscv/riscv.cc + (riscv_option_override): Enforce that interval is the same size as + guard size. + (riscv_allocate_and_probe_stack_space): New function. + (riscv_expand_prologue): Call riscv_allocate_and_probe_stack_space + to the final allocation of the stack and add stack-clash dump + information. + * config/riscv/riscv.h: Define STACK_CLASH_CALLER_GUARD and + STACK_CLASH_MAX_UNROLL_PAGES. + +2024-08-09 Raphael Moreira Zinsly + + * config/riscv/riscv.cc (riscv_v_adjust_scalable_frame): Move + closer to riscv_expand_prologue. + +2024-08-09 Raphael Moreira Zinsly + + * config/riscv/riscv.cc (riscv_emit_stack_tie): Pass the + register to be tied to the stack pointer as argument. + * config/riscv/riscv.md (stack_tie): Don't match equal + operands. + +2024-08-09 Jakub Jelinek + + PR target/116287 + * config/i386/i386.cc (ix86_fold_builtin) : + When folding into zero without checking whether first argument is + constant, use omit_one_operand. + (ix86_fold_builtin) : Likewise. + +2024-08-09 Andrew Stubbs + + * config/gcn/gcn.cc (gcn_asm_trampoline_template): Add .align. + * config/gcn/gcn.h (TRAMPOLINE_SIZE): Increase to 40. + +2024-08-09 Georg-Johann Lay + + * config/avr/avr.md (*load__libgcc, *xload__libgcc): + Tidy up code. + +2024-08-09 Kyrylo Tkachov + + * config/aarch64/constraints.md (Dm): Match CONSTM1_RTX rather + CONST1_RTX. + 2024-08-08 Tamar Christina PR target/116229 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 17534e79088..5d474ddc6cc 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240809 +20240810 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 667f9e7e892..1c8faafe035 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,13 @@ +2024-08-09 Patrick Palka + + * c.opt.urls: Regenerate. + +2024-08-09 Jakub Jelinek + + * c-pragma.cc (c_pp_lookup_pragma): Use ARRAY_SIZE in + n_omp_pragmas_simd initializer. + (init_pragmas): Likewise. + 2024-08-08 Jakub Jelinek PR c++/115744 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ccde7103094..9b6f756f5fe 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2024-08-09 Simon Martin + + PR c++/115806 + * decl.cc (start_enum): Only set OPAQUE_ENUM_P and + ENUM_FIXED_UNDERLYING_TYPE_P when pushing a new tag. + 2024-08-08 Nathaniel Shead PR c++/115062 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index df833cdbd52..10fb5477b89 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,89 @@ +2024-08-09 Jeff Law + + PR target/116283 + * gcc.target/riscv/pr116283.c: New test + +2024-08-09 Kyrylo Tkachov + + Revert: + 2024-08-09 Surya Kumari Jangala + + PR rtl-optimization/116028 + * gcc.dg/ira-shrinkwrap-prep-1.c: Remove xfail for powerpc. + * gcc.dg/pr10474.c: Remove xfail for powerpc. + +2024-08-09 Simon Martin + + PR c++/115806 + * g++.dg/parse/enum15.C: New test. + +2024-08-09 Raphael Moreira Zinsly + + * gcc.target/riscv/stack-check-14.c: New test. + * gcc.target/riscv/stack-check-15.c: New test. + * gcc.target/riscv/stack-check-alloca-1.c: New test. + * gcc.target/riscv/stack-check-alloca-2.c: New test. + * gcc.target/riscv/stack-check-alloca-3.c: New test. + * gcc.target/riscv/stack-check-alloca-4.c: New test. + * gcc.target/riscv/stack-check-alloca-5.c: New test. + * gcc.target/riscv/stack-check-alloca-6.c: New test. + * gcc.target/riscv/stack-check-alloca-7.c: New test. + * gcc.target/riscv/stack-check-alloca-8.c: New test. + * gcc.target/riscv/stack-check-alloca-9.c: New test. + * gcc.target/riscv/stack-check-alloca-10.c: New test. + * gcc.target/riscv/stack-check-alloca.h: New. + +2024-08-09 Raphael Moreira Zinsly + + * gcc.target/riscv/stack-check-cfa-3.c: New test. + * gcc.target/riscv/stack-check-prologue-16.c: New test. + * gcc.target/riscv/struct_vect_24.c: New test. + +2024-08-09 Raphael Moreira Zinsly + + * gcc.dg/params/blocksort-part.c: Skip riscv for + stack-clash protection intervals. + * gcc.dg/pr82788.c: Skip riscv. + * gcc.dg/stack-check-6.c: Skip residual check for riscv. + * gcc.dg/stack-check-6a.c: Skip riscv. + * gcc.target/riscv/stack-check-12.c: New test. + * gcc.target/riscv/stack-check-13.c: New test. + * gcc.target/riscv/stack-check-cfa-1.c: New test. + * gcc.target/riscv/stack-check-cfa-2.c: New test. + * gcc.target/riscv/stack-check-prologue-1.c: New test. + * gcc.target/riscv/stack-check-prologue-10.c: New test. + * gcc.target/riscv/stack-check-prologue-11.c: New test. + * gcc.target/riscv/stack-check-prologue-12.c: New test. + * gcc.target/riscv/stack-check-prologue-13.c: New test. + * gcc.target/riscv/stack-check-prologue-14.c: New test. + * gcc.target/riscv/stack-check-prologue-15.c: New test. + * gcc.target/riscv/stack-check-prologue-2.c: New test. + * gcc.target/riscv/stack-check-prologue-3.c: New test. + * gcc.target/riscv/stack-check-prologue-4.c: New test. + * gcc.target/riscv/stack-check-prologue-5.c: New test. + * gcc.target/riscv/stack-check-prologue-6.c: New test. + * gcc.target/riscv/stack-check-prologue-7.c: New test. + * gcc.target/riscv/stack-check-prologue-8.c: New test. + * gcc.target/riscv/stack-check-prologue-9.c: New test. + * gcc.target/riscv/stack-check-prologue.h: New file. + * lib/target-supports.exp + (check_effective_target_supports_stack_clash_protection): + Add riscv. + (check_effective_target_caller_implicit_probes): Likewise. + +2024-08-09 Patrick Palka + + PR c++/116289 + PR c++/113063 + * g++.dg/cpp2a/spaceship-synth16a.C: New test. + +2024-08-09 Jakub Jelinek + + PR target/116287 + * gcc.target/i386/bmi-pr116287.c: New test. + * gcc.target/i386/bmi2-pr116287.c: New test. + * gcc.target/i386/tbm-pr116287.c: New test. + 2024-08-08 Andrew Pinski PR testsuite/116041 diff --git a/include/ChangeLog b/include/ChangeLog index 971541b0054..f3fc0caf4de 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2024-08-09 Will Hawkins + + * btf.h (BTF_TYPE_INFO): Protect against user providing invalid + kind. + 2024-07-02 David Faust * btf.h (BTF_VOID_TYPEID, BTF_INIT_TYPEID): Move defines here, diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 14003d762ea..aad4c598abd 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,18 @@ +2024-08-09 Thomas Schwinge + + * testsuite/libgomp.c++/static-aggr-constructor-destructor-1.C: + Fix effective-target keyword. + * testsuite/libgomp.c++/static-aggr-constructor-destructor-2.C: + Likewise. + * testsuite/libgomp.c-c++-common/target-is-initial-host-2.c: + Likewise. + * testsuite/libgomp.c-c++-common/target-is-initial-host.c: + Likewise. + * testsuite/libgomp.fortran/target-is-initial-host-2.f90: + Likewise. + * testsuite/libgomp.fortran/target-is-initial-host.f: Likewise. + * testsuite/libgomp.fortran/target-is-initial-host.f90: Likewise. + 2024-08-08 Tobias Burnus * libgomp.texi (OpenMP Technical Report 13): Renamed from