aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog208
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog6
-rw-r--r--gcc/c/ChangeLog14
-rw-r--r--gcc/cp/ChangeLog10
-rw-r--r--gcc/m2/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog36
7 files changed, 281 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c4d71e4..de2224b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 5f2357c..9093ce4 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20241205
+20241206
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 8e438ac..580c711 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -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.
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 037b4ac..d439c76 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -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
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ad53d92..aadfbb7 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index 0c4b055..6274437 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -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
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 75fe6c3..f2265f5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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