https://gcc.gnu.org/g:e44c944871e6fe99a37516816f401ed6fd4a77a6
commit r15-9141-ge44c944871e6fe99a37516816f401ed6fd4a77a6 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Wed Apr 2 00:18:25 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 125 +++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cobol/ChangeLog | 7 +++ gcc/cp/ChangeLog | 21 ++++++++ gcc/testsuite/ChangeLog | 127 ++++++++++++++++++++++++++++++++++++++++++++++++ gnattools/ChangeLog | 7 +++ libquadmath/ChangeLog | 8 +++ libstdc++-v3/ChangeLog | 14 ++++++ 8 files changed, 310 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba4507dcc9eb..e18a2cf89db9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,128 @@ +2025-04-01 Sandra Loosemore <sloosem...@baylibre.com> + + PR c/118118 + * doc/extend.texi (Boolean Type): New section. + +2025-04-01 Sandra Loosemore <sloosem...@baylibre.com> + + PR c/117689 + * doc/extend.texi (Incomplete Enums): Rename to.... + (Enum Extensions): This. Document support for specifying the + underlying type of an enum as an extension in all earlier C + and C++ standards. Document that a forward declaration with + underlying type is not an incomplete type, and which dialects + GCC supports that in. + +2025-04-01 Tom Tromey <tro...@adacore.com> + + * dwarf2out.cc (modified_type_die): Use mod_scope for + ranged types, base types, and array types. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/119493 + * tree-tailcall.cc (find_tail_calls): Don't punt on tail recusion + if some arguments don't have is_gimple_reg_type, only punt if they + have non-POD types, or volatile, or addressable or (for now) it is + not a musttail call. Set tailr_arg_needs_copy in those cases too. + (eliminate_tail_call): Copy call arguments to params if they don't + have is_gimple_reg_type, use temporaries if the argument is used + later. + (tree_optimize_tail_calls_1): Skip !is_gimple_reg_type + tailr_arg_needs_copy parameters. Formatting fix. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/119291 + * combine.cc (try_combine): For splitting of PARALLEL with + 2 independent SETs into i2 and i3 sets check reg_used_between_p + of the SET_DESTs rather than just modified_between_p. + +2025-04-01 Richard Biener <rguent...@suse.de> + + PR tree-optimization/119534 + * tree-vect-stmts.cc (get_load_store_type): Reject + VECTOR_BOOLEAN_TYPE_P offset vector type for emulated gathers. + +2025-04-01 Martin Uecker <uec...@tugraz.at> + + PR c/119173 + * doc/invoke.texi (Warning Options): Move to general options. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR gcov-profile/119535 + * profile.cc (branch_prob): Ignore any edges from bbs ending with + musttail call, rather than only EDGE_FAKE edges from those to EXIT. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/119493 + * tree-tailcall.cc (tree_optimize_tail_calls_1): Ignore tail recursion + candidates which need accumulators if there is at least one musttail + non-recursive call. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/119537 + * gimplify.cc (find_used_user_labels): New function. + (gimplify_call_expr): Don't remove complex assume expression at -O0 + if it defines any user labels. + * gimple-low.cc: Include diagnostic-core.h. + (assume_labels): New variable. + (diagnose_assume_labels): New function. + (lower_function_body): Call it via walk_gimple_seq if assume_labels + is non-NULL, then BITMAP_FREE assume_labels. + (find_assumption_locals_r): Record in assume_labels uids of user + labels defined in assume attribute expressions. + +2025-04-01 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/119369 + * config/gcn/gcn-protos.h (gcn_asm_weaken_decl): Declare. + * config/gcn/gcn.cc (gcn_asm_weaken_decl): New. + * config/gcn/gcn-hsa.h (ASM_WEAKEN_DECL): '#define' to this. + +2025-04-01 Richard Biener <rguent...@suse.de> + + PR target/119549 + * common/config/i386/i386-common.cc (ix86_handle_option): + Assert that both OPT_msse4 and OPT_mno_sse4 are never unset. + * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p): + Process negated OPT_msse4 as OPT_mno_sse4. + +2025-04-01 Tobias Burnus <tbur...@baylibre.com> + + PR middle-end/119559 + * gimplify.cc (modify_call_for_omp_dispatch): Reorder checks to avoid + asserts and bogus diagnostic. + +2025-04-01 Hu, Lin1 <lin1...@intel.com> + Hongyu Wang <hongyu.w...@intel.com> + + PR target/119473 + * config/i386/sse.md + (vaesdec_<mode>): Set attr "isa" as "avx,vaes_avx512vl", "type" as + "sselog1", "mode" as "TI". + (vaesdeclast_<mode>): Ditto. + (vaesenc_<mode>): Ditto. + (vaesenclast_<mode>): Ditto. + +2025-04-01 Monk Chiang <monk.chi...@sifive.com> + Kito Cheng <kito.ch...@sifive.com> + + * config/riscv/riscv-v.cc: Add restrict for insert LMUL. + * config/riscv/riscv-vector-builtins-types.def: + Use RVV_REQUIRE_ELEN_64 to check LMUL number. + * config/riscv/riscv-vector-switch.def: Likewise. + * config/riscv/vector-iterators.md: Check TARGET_VECTOR_ELEN_64 + rather than "TARGET_MIN_VLEN > 32" for all iterator. + +2025-04-01 Lulu Cheng <chengl...@loongson.cn> + + * doc/invoke.texi: Corrected the position of '-mtls-dialect=opt' + option. + 2025-03-31 Jørgen Kvalsvik <j...@lambda.is> PR gcov-profile/119553 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 9908187aed06..2508b1fc5e73 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250401 +20250402 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index 58f9f5ed8b2f..a649c0655880 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,10 @@ +2025-04-01 Bob Dubner <rdub...@symas.com> + + * genapi.cc: (section_label): Use xasprintf() instead of sprintf(). + (paragraph_label): Likewise. (leave_procedure): Likewise. + (find_procedure): Likewise. (parser_goto): Likewise. + (parser_enter_file): Likewise. + 2025-03-28 Jakub Jelinek <ja...@redhat.com> * Make-lang.in (cobol/charmaps.cc, cobol/valconv.cc): Used sed -e diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fe8aa4b88961..7cf0094615a7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,24 @@ +2025-04-01 Nathaniel Shead <nathanielosh...@gmail.com> + + PR c++/119551 + * module.cc (trees_out::write_var_def): Only ignore non-inline + variable initializers. + +2025-04-01 Nathaniel Shead <nathanielosh...@gmail.com> + + * parser.cc (cp_parser_diagnose_invalid_type_name): Replace + fmodules-ts with fmodules. + (cp_parser_template_declaration): Likewise. + +2025-04-01 Marek Polacek <pola...@redhat.com> + + PR c++/119383 + * call.cc (build_over_call): Use force_lvalue to ensure op= returns + an lvalue. + * cp-tree.h (force_lvalue): Declare. + * cvt.cc (force_lvalue): New. + * typeck.cc (cp_build_indirect_ref_1): Revert r15-8011. + 2025-03-31 Jason Merrill <ja...@redhat.com> PR c++/119401 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a488c4d1afce..1146a9e3f58d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,130 @@ +2025-04-01 Nathaniel Shead <nathanielosh...@gmail.com> + + PR c++/119551 + * g++.dg/modules/internal-5_a.C: Add cases that should be + ignored. + * g++.dg/modules/internal-5_b.C: Test these new cases, and make + the testcase more robust. + * g++.dg/modules/internal-11.C: New test. + * g++.dg/modules/internal-12_a.C: New test. + * g++.dg/modules/internal-12_b.C: New test. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/119493 + * gcc.dg/pr119493-1.c: New test. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/119291 + * gcc.c-torture/execute/pr119291.c: New test. + +2025-04-01 Kito Cheng <kito.ch...@sifive.com> + + * gcc.target/riscv/rv32i_zcmp.c: Tweak testcase for PIE. + * gcc.target/riscv/rv32e_zcmp.c: Likewise. + * gcc.target/riscv/zcmp_stack_alignment.c: Likewise. + * gcc.target/riscv/cm_mv_rv32.c: Likewise. + * gcc.target/riscv/cpymem-64.c: Likewise. + * gcc.target/riscv/fmax-snan.c: Likewise. + * gcc.target/riscv/fmaxf-snan.c: Likewise. + * gcc.target/riscv/fmin-snan.c: Likewise. + * gcc.target/riscv/fminf-snan.c: Likewise. + * gcc.target/riscv/large-model.c: Likewise. + * gcc.target/riscv/predef-1.c: Likewise. + * gcc.target/riscv/predef-4.c: Likewise. + * gcc.target/riscv/predef-7.c: Likewise. + * gcc.target/riscv/predef-9.c: Likewise. + * gcc.target/riscv/rvv/base/abi-callee-saved-2-save-restore.c: Likewise. + * gcc.target/riscv/rvv/base/abi-callee-saved-2-zcmp.c: Likewise. + * gcc.target/riscv/rvv/base/abi-callee-saved-2.c: Likewise. + * gcc.target/riscv/rvv/base/cmpmem-1.c: Likewise. + * gcc.target/riscv/rvv/base/cmpmem-3.c: Likewise. + * gcc.target/riscv/rvv/base/cmpmem-4.c: Likewise. + * gcc.target/riscv/rvv/base/cpymem-1.c: Likewise. + * gcc.target/riscv/rvv/base/movmem-1.c: Likewise. + * gcc.target/riscv/rvv/base/pr114352-3.c: Likewise. + * gcc.target/riscv/rvv/base/setmem-1.c: Likewise. + * gcc.target/riscv/rvv/base/setmem-2.c: Likewise. + * gcc.target/riscv/rvv/base/setmem-3.c: Likewise. + * gcc.target/riscv/rvv/base/spill-9.c: Likewise. + * g++.target/riscv/mv-symbols1.C: Likewise. + * g++.target/riscv/mv-symbols3.C: Likewise. + * g++.target/riscv/mv-symbols4.C: Likewise. + * g++.target/riscv/mv-symbols5.C: Likewise. + * g++.target/riscv/mvc-symbols1.C: Likewise. + * g++.target/riscv/mvc-symbols3.C: Likewise. + +2025-04-01 Richard Biener <rguent...@suse.de> + + PR tree-optimization/119534 + * gcc.dg/vect/pr119534.c: New testcase. + +2025-04-01 Marek Polacek <pola...@redhat.com> + + PR c++/119383 + * g++.dg/cpp0x/temp-extend3.C: New test. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR gcov-profile/119535 + * c-c++-common/pr119535.c: New test. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/119493 + * gcc.dg/pr119493-2.c: New test. + +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/119537 + * c-c++-common/pr119537-1.c: New test. + * c-c++-common/pr119537-2.c: New test. + +2025-04-01 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/119369 + * g++.dg/abi/pure-virtual1.C: 'dg-xfail-if' GCN. + * g++.dg/cpp0x/pr84497.C: 'dg-skip-if' GCN. + * g++.dg/ext/weak2.C: Likewise. + * gcc.dg/attr-weakref-1.c: Likewise. + * gcc.dg/weak/weak-1.c: Likewise. + * gcc.dg/weak/weak-12.c: Likewise. + * gcc.dg/weak/weak-15.c: Likewise. + * gcc.dg/weak/weak-16.c: Likewise. + * gcc.dg/weak/weak-2.c: Likewise. + * gcc.dg/weak/weak-3.c: Likewise. + * gcc.dg/weak/weak-4.c: Likewise. + * gcc.dg/weak/weak-5.c: Likewise. + +2025-04-01 Richard Biener <rguent...@suse.de> + + PR target/119549 + * gcc.target/i386/pr119549.c: New testcase. + +2025-04-01 Liao Shihua <shi...@iscas.ac.cn> + + * gcc.target/riscv/cmo-zicbop-1.c: Fix missing { before target . + * gcc.target/riscv/cmo-zicbop-2.c: Likewise. + * gcc.target/riscv/prefetch-zicbop.c:Likewise. + * gcc.target/riscv/prefetch-zihintntl.c:Likewise. + +2025-04-01 Hu, Lin1 <lin1...@intel.com> + Hongyu Wang <hongyu.w...@intel.com> + + PR target/119473 + * gcc.target/i386/pr119473.c: New test. + +2025-04-01 Monk Chiang <monk.chi...@sifive.com> + Kito Cheng <kito.ch...@sifive.com> + + * gcc.target/riscv/rvv/autovec/pr111391-2.c: Update test. + * gcc.target/riscv/rvv/base/abi-14.c: Update test. + * gcc.target/riscv/rvv/base/abi-16.c: Update test. + * gcc.target/riscv/rvv/base/abi-18.c: Update test. + * gcc.target/riscv/rvv/base/vsetvl_zve32-1.c: New test. + * gcc.target/riscv/rvv/base/vsetvl_zve32-2.c: New test. + 2025-03-31 Philip Herron <herron.phi...@googlemail.com> * rust/compile/issue-3613.rs: New test. diff --git a/gnattools/ChangeLog b/gnattools/ChangeLog index ee225fe5a2cf..d7e28ab48c8a 100644 --- a/gnattools/ChangeLog +++ b/gnattools/ChangeLog @@ -1,3 +1,10 @@ +2025-04-01 Eric Botcazou <ebotca...@adacore.com> + + PR ada/119440 + PR ada/119571 + * Makefile.in (TOOLS_FLAGS_TO_PASS_CROSS): Pass $(PICFLAG) under + CFLAGS and $(LD_PICFLAG) under LDFLAGS. + 2025-03-25 Eric Botcazou <ebotca...@adacore.com> PR ada/119440 diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index e2f8095d01fd..5a6429bb56e4 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,11 @@ +2025-04-01 Jakub Jelinek <ja...@redhat.com> + + * strtod/strtod_l.c (____STRTOF_INTERNAL): Avoid old-style function + definitions. + * printf/addmul_1.c (mpn_addmul_1): Likewise. + * printf/mul_1.c (mpn_mul_1): Likewise. + * printf/submul_1.c (mpn_submul_1): Likewise. + 2025-01-02 Jakub Jelinek <ja...@redhat.com> * libquadmath.texi: Bump @copying's copyright year. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e81c934d725d..97f3a7ac59df 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,17 @@ +2025-04-01 Jonathan Wakely <jwak...@redhat.com> + + PR libstdc++/114945 + * include/bits/vector.tcc (vector::_M_default_append): Add + unreachable condition so the compiler knows that _M_finish is + not null. + * testsuite/23_containers/vector/capacity/114945.cc: New test. + +2025-04-01 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/119369 + * config/cpu/gcn/cpu_defines.h: New. + * configure.host [GCN] (cpu_defines_dir): Point to it. + 2025-03-31 Jonathan Wakely <jwak...@redhat.com> PR libstdc++/110498