]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 6 Dec 2024 00:19:28 +0000 (00:19 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 6 Dec 2024 00:19:28 +0000 (00:19 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/m2/ChangeLog
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index c4d71e432f5ebb0b775c1c736c5c42753e294b68..de2224b56e4aa8ea3d61f7ec4deede2300b50774 100644 (file)
@@ -1,3 +1,211 @@
+2024-12-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       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<mode>): Swap operands of
+       PLUS RTX to make it canonical.
+       (*addcarry<mode>_1): Ditto.
+       (addcarry peephole2s): Update RTXes for addcarry<mode>_1 change.
+       (*add<dwi>3_doubleword_cc_overflow_1): Ditto.
+       (*subborrow<mode>_1): New insn pattern.
+
+2024-12-05  Richard Earnshaw  <rearnsha@arm.com>
+
+       * config/arm/mmintrin.h: Raise an error if this header is used.
+       Remove other content.
+
+2024-12-05  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * 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  <richard.sandiford@arm.com>
+
+       * 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  <richard.sandiford@arm.com>
+
+       * 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  <richard.sandiford@arm.com>
+
+       * 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  <pan2.li@intel.com>
+
+       * match.pd: Refactor sorts of unsigned SAT_TRUNC match patterns.
+
+2024-12-05  Richard Biener  <rguenther@suse.de>
+
+       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  <Arvin.Zhong@armchina.com>
+
+       * config/arm/arm-cpus.in (star-mc1): Add CDE options.
+       * doc/invoke.texi (cdecp options): Document for star-mc1.
+
+2024-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <jakub@redhat.com>
+
+       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  <avr@gjlay.de>
+
+       PR target/107957
+       * config/avr/avr-passes-fuse-move.h (bbinfo_t) <try_mem0_p>:
+       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  <avr@gjlay.de>
+
+       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  <avr@gjlay.de>
+
+       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  <avr@gjlay.de>
+
+       * 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) <add_lt0, add_ge0>: New attr values.
+       (QISI2): New mode iterator.
+       (C_MSB): New mode_attr.
+       (*add<mode>3...msb_split, *add<mode>3.ge0, *add<mode>3.lt0)
+       (*sub<mode>3...msb_split, *sub<mode>3.ge0, *sub<mode>3.lt0): New
+       patterns replacing old ones, but with iterators and
+       using avr_out_add_msb() for asm out.
+
+2024-12-05  Filip Kastl  <fkastl@suse.cz>
+
+       * doc/invoke.texi: Add store-forwarding-max-distance.
+
+2024-12-05  Filip Kastl  <fkastl@suse.cz>
+
+       * params.opt: Add missing '=' after -param=cycle-accurate-model.
+
+2024-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <kito.cheng@sifive.com>
+
+       * 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  <dmalcolm@redhat.com>
 
        * doc/libgdiagnostics/topics/execution-paths.rst: Add 'ยง' before
index 5f2357c99fcde33e7be150a455167e4a3150420f..9093ce495f9dd40520b333a511ed9c5a913ac501 100644 (file)
@@ -1 +1 @@
-20241205
+20241206
index 8e438ac53ae34c680ced2caf3b28dfcf680950d0..580c711a2f087941d7aadda2fa0ccf07b0f20c6a 100644 (file)
@@ -1,3 +1,9 @@
+2024-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <jakub@redhat.com>
 
        * c.opt (Wdeprecated-variadic-comma-omission): New option.
index 037b4ac65dd262880186c33a2abb4d0750f2f25f..d439c76c6b368da9398024e711e3c3eeb9b7cdcc 100644 (file)
@@ -1,3 +1,17 @@
+2024-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/107980
+       * c-parser.cc (c_parser_postfix_expression): Handle RID_C23_VA_START.
+
+2024-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <tburnus@baylibre.com>
 
        * c-parser.cc (c_parser_omp_allocate): Only check scope if
index ad53d9282baaae05f22c54ae830b50296bf09549..aadfbb7ce7ab30773001887461c459c6341eaf88 100644 (file)
@@ -1,3 +1,13 @@
+2024-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <dmalcolm@redhat.com>
 
        PR c++/116771
index 0c4b055f5a9b53520008fa78879f7e0785420eda..627443717ad3c1e57ebff5c8338400e07c4ffac2 100644 (file)
@@ -1,3 +1,9 @@
+2024-12-05  Gaius Mulley  <gaiusmod2@gmail.com>
+
+       PR modula2/117904
+       * gm2-compiler/M2GenGCC.mod (PerformLastForIterator): Add call to
+       BuildConvert when increment is > 0.
+
 2024-11-25  Gaius Mulley  <gaiusmod2@gmail.com>
 
        PR modula2/117777
index 75fe6c391b5ee6c9f69463839be9b7b3e4aae5f3..f2265f50bcc99d02590d57f137b1c0e437f4a4e0 100644 (file)
@@ -1,3 +1,39 @@
+2024-12-05  Gaius Mulley  <gaiusmod2@gmail.com>
+
+       PR modula2/117904
+       * gm2/iso/pass/forloopbyconst.mod: New test.
+
+2024-12-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/117860
+       * gcc.target/i386/pr117860.c: New test.
+
+2024-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <jakub@redhat.com>
+
+       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  <jakub@redhat.com>
+
+       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  <dmalcolm@redhat.com>
 
        PR c++/116771
index e20517c368453ab16807e2139fa9e1c898f7b8e8..4562b9b002954ab42b333a5dc340d764bbe6227e 100644 (file)
@@ -1,3 +1,15 @@
+2024-12-05  Jonathan Wakely  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
 
        PR libstdc++/108236