From: GCC Administrator Date: Fri, 6 Dec 2024 00:19:28 +0000 (+0000) Subject: Daily bump. X-Git-Tag: basepoints/gcc-16~3601 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b462f2b6c490b106fdc9ecd9f484b2f1f562b4;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4d71e432f5e..de2224b56e4a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,211 @@ +2024-12-05 Uros Bizjak + + PR target/117860 + * config/i386/i386.cc (ix86_canonicalize_comparison): Swap + operands of GTU comparison to canonicalize addcarry/subborrow + comparison. + (ix86_cc_mode): Return CCCmode for the comparison of + addcarry/subborrow pattern. + * config/i386/i386.md (addcarry): Swap operands of + PLUS RTX to make it canonical. + (*addcarry_1): Ditto. + (addcarry peephole2s): Update RTXes for addcarry_1 change. + (*add3_doubleword_cc_overflow_1): Ditto. + (*subborrow_1): New insn pattern. + +2024-12-05 Richard Earnshaw + + * config/arm/mmintrin.h: Raise an error if this header is used. + Remove other content. + +2024-12-05 Richard Sandiford + + * config/aarch64/aarch64-simd-pragma-builtins.def + (ENTRY_TERNARY_VLUT8): Use FLAG_QUIET rather than FLAG_DEFAULT. + (ENTRY_TERNARY_VLUT16): Likewise. + +2024-12-05 Richard Sandiford + + * config/aarch64/aarch64-builtins.cc (FLAG_QUIET): Redefine to 0, + replacing the old flag with... + (FLAG_AUTO_FP): ...this. + (FLAG_DEFAULT): Redefine to FLAG_AUTO_FP. + (aarch64_call_properties): Update accordingly. + +2024-12-05 Richard Sandiford + + * config/aarch64/aarch64-builtins.cc (FLAG_NONE): Rename to... + (FLAG_DEFAULT): ...this and update all references. + * config/aarch64/aarch64-simd-builtins.def: Update all references + here too. + * config/aarch64/aarch64-simd-pragma-builtins.def: Likewise. + +2024-12-05 Richard Sandiford + + * config/aarch64/aarch64-builtins.cc (FLAG_AUTO_FP): Rename to... + (FLAG_QUIET): ...this and update all references. + * config/aarch64/aarch64-simd-builtins.def: Update all references + here too. + +2024-12-05 Pan Li + + * match.pd: Refactor sorts of unsigned SAT_TRUNC match patterns. + +2024-12-05 Richard Biener + + PR middle-end/117801 + * tree-outof-ssa.cc (ssa_is_replaceable_p): Make + direct internal function calls replaceable. + * expr.cc (get_def_for_expr): Handle replacements with calls. + (get_def_for_expr_class): Likewise. + (optimize_bitfield_assignment_op): Likewise. + (expand_expr_real_1): Likewise. Properly expand direct + internal function defs. + * cfgexpand.cc (expand_call_stmt): Handle replacements with calls. + (avoid_deep_ter_for_debug): Likewise, always create a debug temp + for calls. + (expand_debug_expr): Likewise, give up for calls. + (expand_gimple_basic_block): Likewise. + * ccmp.cc (ccmp_candidate_p): Likewise. + (get_compare_parts): Likewise. + +2024-12-05 Arvin Zhong + + * config/arm/arm-cpus.in (star-mc1): Add CDE options. + * doc/invoke.texi (cdecp options): Document for star-mc1. + +2024-12-05 Jakub Jelinek + + PR rtl-optimization/113994 + PR rtl-optimization/116799 + * loop-doloop.cc: Include targhooks.h. + (doloop_optimize): Also punt on intersection of modified + with df_get_live_in (desc->out_edge->dest). + (doloop_optimize_loops): Call df_analyze. Use + LI_ONLY_INNERMOST or LI_FROM_INNERMOST instead of 0 as + second loops_list argument. + +2024-12-05 Jakub Jelinek + + PR c/107980 + * ginclude/stdarg.h (va_start): For C23+ change parameters from + v, ... to just ... and define to __builtin_c23_va_start(__VA_ARGS__) + rather than __builtin_va_start(v, 0). + +2024-12-05 Georg-Johann Lay + + PR target/107957 + * config/avr/avr-passes-fuse-move.h (bbinfo_t) : + Add static property. + * config/avr/avr-passes.cc (bbinfo_t::try_mem0_p): Define it. + (optimize_data_t::try_mem0): New method. + (bbinfo_t::optimize_one_block) [bbinfo_t::try_mem0_p]: Run try_mem0. + (bbinfo_t::optimize_one_function): Set bbinfo_t::try_mem0_p. + * config/avr/avr.md (pushhi1_insn): Also allow zero as source. + (define_split) [avropt_split_ldst]: Only run avr_split_ldst() + when avr-fuse-move has been run at least once. + * doc/invoke.texi (AVR Options) <-msplit-ldst>: Document it. + +2024-12-05 Georg-Johann Lay + + PR target/107957 + * config/avr/avr.opt (-msplit-ldst, avropt_split_ldst): + New option and associated var. + * common/config/avr/avr-common.cc (avr_option_optimization_table) + [OPT_LEVELS_2_PLUS]: Turn on -msplit_ldst. + * config/avr/avr-passes.cc (splittable_address_p) + (avr_byte_maybe_mem, avr_split_ldst): New functions. + * config/avr/avr-protos.h (avr_split_ldst): New proto. + * config/avr/avr.md (define_split) [avropt_split_ldst]: Run + avr_split_ldst(). + +2024-12-05 Georg-Johann Lay + + PR target/64242 + * config/avr/avr.md (nonlocal_goto): Don't restore + hard_frame_pointer_rtx directly, but copy it to local + register, and only set hard_frame_pointer_rtx from it + after emit_stack_restore(). + +2024-12-05 Georg-Johann Lay + + * config/avr/avr-protos.h (avr_out_add_msb): New proto. + * config/avr/avr.cc (avr_out_add_msb): New function. + (avr_adjust_insn_length) [ADJUST_LEN_ADD_GE0, + ADJUST_LEN_ADD_LT0]: Handle cases. + * config/avr/avr.md (adjust_len) : New attr values. + (QISI2): New mode iterator. + (C_MSB): New mode_attr. + (*add3...msb_split, *add3.ge0, *add3.lt0) + (*sub3...msb_split, *sub3.ge0, *sub3.lt0): New + patterns replacing old ones, but with iterators and + using avr_out_add_msb() for asm out. + +2024-12-05 Filip Kastl + + * doc/invoke.texi: Add store-forwarding-max-distance. + +2024-12-05 Filip Kastl + + * params.opt: Add missing '=' after -param=cycle-accurate-model. + +2024-12-05 Jakub Jelinek + + PR c/41045 + * output.h (insn_noperands): Declare. + * final.cc (insn_noperands): No longer static. + * varasm.cc (assemble_asm): Handle ASM_EXPR. + * lto-streamer-out.cc (lto_output_toplevel_asms): Add sorry_at + for non-STRING_CST toplevel asm for now. + * doc/extend.texi (Basic @code{asm}, Extended @code{asm}): Document + that extended asm is now allowed outside of functions with certain + restrictions. + +2024-12-05 Kito Cheng + + * config/riscv/riscv-vector-builtins-shapes.cc + (vsetvl_def::get_name): Adjust return type. + (loadstore_def::get_name): Ditto. + (indexed_loadstore_def::get_name): Ditto. + (th_loadstore_width_def::get_name): Ditto. + (th_indexed_loadstore_width_def::get_name): Ditto. + (alu_def::get_name): Ditto. + (alu_frm_def::get_name): Ditto. + (widen_alu_frm_def::get_name): Ditto. + (narrow_alu_frm_def::get_name): Ditto. + (reduc_alu_frm_def::get_name): Ditto. + (widen_alu_def::get_name): Ditto. + (no_mask_policy_def::get_name): Ditto. + (return_mask_def::get_name): Ditto. + (narrow_alu_def::get_name): Ditto. + (move_def::get_name): Ditto. + (mask_alu_def::get_name): Ditto. + (reduc_alu_def::get_name): Ditto. + (th_extract_def::get_name): Ditto. + (scalar_move_def::get_name): Ditto. + (vundefined_def::get_name): Ditto. + (misc_def::get_name): Ditto. + (vset_def::get_name): Ditto. + (vcreate_def: Ditto.::get_name): Ditto. + (read_vl_def::get_name): Ditto. + (fault_load_def::get_name): Ditto. + (vlenb_def::get_name): Ditto. + (seg_loadstore_def::get_name): Ditto. + (seg_indexed_loadstore_def::get_name): Ditto. + (seg_fault_load_def::get_name): Ditto. + (crypto_vv_def::get_name): Ditto. + (crypto_vi_def::get_name): Ditto. + (crypto_vv_no_op_type_def::get_name): Ditto. + (sf_vqmacc_def::get_name): Ditto. + (sf_vqmacc_def::get_name): Ditto. + (sf_vfnrclip_def::get_name): Ditto. + * config/riscv/riscv-vector-builtins.cc + (function_builder::add_unique_function): Adjust the type for the + function name holder. + (function_builder::add_overloaded_function): Ditto. + * config/riscv/riscv-vector-builtins.h (function_shape::get_name): Add + const to the return type. + 2024-12-04 David Malcolm * doc/libgdiagnostics/topics/execution-paths.rst: Add '§' before diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 5f2357c99fcd..9093ce495f9d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20241205 +20241206 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 8e438ac53ae3..580c711a2f08 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2024-12-05 Jakub Jelinek + + PR c/107980 + * c-common.h (enum rid): Add RID_C23_VA_START. + * c-common.cc (c_common_reswords): Add __builtin_c23_va_start. + 2024-11-30 Jakub Jelinek * c.opt (Wdeprecated-variadic-comma-omission): New option. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 037b4ac65dd2..d439c76c6b36 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,17 @@ +2024-12-05 Jakub Jelinek + + PR c/107980 + * c-parser.cc (c_parser_postfix_expression): Handle RID_C23_VA_START. + +2024-12-05 Jakub Jelinek + + PR c/41045 + * c-parser.cc (c_parser_asm_string_literal): Add forward declaration. + (c_parser_asm_definition): Parse also extended asm without + clobbers/labels. + * c-typeck.cc (build_asm_expr): Allow extended asm outside of + functions and check extra restrictions. + 2024-12-03 Tobias Burnus * c-parser.cc (c_parser_omp_allocate): Only check scope if diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ad53d9282baa..aadfbb7ce7ab 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,13 @@ +2024-12-05 Jakub Jelinek + + PR c/41045 + * cp-tree.h (finish_asm_stmt): Add TOPLEV_P argument. + * parser.cc (cp_parser_asm_definition): Parse also extended asm + without clobbers/labels outside of functions. + * semantics.cc (finish_asm_stmt): Add TOPLEV_P argument, if set, + check extra restrictions for extended asm outside of functions. + * pt.cc (tsubst_stmt): Adjust finish_asm_stmt caller. + 2024-12-04 David Malcolm PR c++/116771 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 0c4b055f5a9b..627443717ad3 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,9 @@ +2024-12-05 Gaius Mulley + + PR modula2/117904 + * gm2-compiler/M2GenGCC.mod (PerformLastForIterator): Add call to + BuildConvert when increment is > 0. + 2024-11-25 Gaius Mulley PR modula2/117777 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 75fe6c391b5e..f2265f50bcc9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,39 @@ +2024-12-05 Gaius Mulley + + PR modula2/117904 + * gm2/iso/pass/forloopbyconst.mod: New test. + +2024-12-05 Uros Bizjak + + PR target/117860 + * gcc.target/i386/pr117860.c: New test. + +2024-12-05 Jakub Jelinek + + PR rtl-optimization/113994 + PR rtl-optimization/116799 + * gcc.c-torture/execute/pr116799.c: New test. + * g++.dg/torture/pr113994.C: New test. + +2024-12-05 Jakub Jelinek + + PR c/107980 + * gcc.dg/c23-stdarg-4.c: Expect extra warning. + * gcc.dg/c23-stdarg-6.c: Likewise. + * gcc.dg/c23-stdarg-7.c: Likewise. + * gcc.dg/c23-stdarg-8.c: Likewise. + * gcc.dg/c23-stdarg-10.c: New test. + * gcc.dg/c23-stdarg-11.c: New test. + * gcc.dg/torture/c23-stdarg-split-1a.c: Expect extra warning. + * gcc.dg/torture/c23-stdarg-split-1b.c: Likewise. + +2024-12-05 Jakub Jelinek + + PR c/41045 + * c-c++-common/toplevel-asm-1.c: New test. + * c-c++-common/toplevel-asm-2.c: New test. + * c-c++-common/toplevel-asm-3.c: New test. + 2024-12-04 David Malcolm PR c++/116771 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e20517c36845..4562b9b00295 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,15 @@ +2024-12-05 Jonathan Wakely + + PR libstdc++/117921 + * include/bits/hashtable_policy.h (_Hash_code_base::_M_swap): + Use ADL swap for Hash members. + (_Hashtable_base::_M_swap): Use ADL swap for _Equal members. + * include/bits/stl_tree.h (_Rb_tree::swap): Use ADL swap for + _Compare members. + * testsuite/23_containers/set/modifiers/swap/adl.cc: New test. + * testsuite/23_containers/unordered_set/modifiers/swap-2.cc: New + test. + 2024-12-03 Jonathan Wakely PR libstdc++/108236