aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog134
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c/ChangeLog32
-rw-r--r--gcc/cp/ChangeLog13
-rw-r--r--gcc/m2/ChangeLog29
-rw-r--r--gcc/testsuite/ChangeLog118
7 files changed, 332 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1151cf0..380c7d9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,137 @@
+2024-01-11 Jin Ma <jinma@linux.alibaba.com>
+
+ * config/riscv/thead.md: Add limits for splits.
+
+2024-01-11 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR middle-end/113322
+ * expr.cc (do_store_flag): Don't try single bit tests with
+ comparison on vector types.
+
+2024-01-11 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/113301
+ * match.pd (`1/x`): Delay signed case until late.
+
+2024-01-11 Georg-Johann Lay <avr@gjlay.de>
+
+ * doc/invoke.texi (AVR Options): Move -mrmw, -mn-flash, -mshort-calls
+ and -msp8 to...
+ (AVR Internal Options): ...this new @subsubsection.
+
+2024-01-11 Vladimir N. Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/112918
+ * lra-constraints.cc (SMALL_REGISTER_CLASS_P): Move before in_class_p.
+ (in_class_p): Restrict condition for narrowing class in case of
+ allow_all_reload_class_changes_p.
+ (process_alt_operands): Try to match operand without and with
+ narrowing reg class. Discourage narrowing the class. Finish insn
+ matching only if there is no class narrowing.
+ (curr_insn_transform): Pass true to in_class_p for reg operand win.
+
+2024-01-11 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/112505
+ * tree-vect-loop.cc (vectorizable_induction): Reject
+ bit-precision induction.
+
+2024-01-11 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/113126
+ * match.pd ((double)float CMP (double)float -> float CMP float):
+ Make sure the boolean type is the same.
+ * fold-const.cc (fold_binary_loc): Likewise.
+
+2024-01-11 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/112636
+ * tree-ssa-loop-ch.cc (ch_base::copy_headers): Call
+ estimate_numbers_of_iterations before querying
+ get_max_loop_iterations_int.
+ (pass_ch::execute): Initialize SCEV and loops appropriately.
+
+2024-01-11 Georg-Johann Lay <avr@gjlay.de>
+
+ * config/avr/avr-devices.cc (avr_texinfo): Adjust documentation for
+ Reduced Tiny.
+ * config/avr/gen-avr-mmcu-texi.cc (main): Add @anchor for each core.
+ * doc/extend.texi (AVR Variable Attributes): Improve documentation
+ of io, io_low and address attributes.
+ * doc/invoke.texi (AVR Options): Add some anchors for external refs.
+ * doc/avr-mmcu.texi: Rebuild.
+
+2024-01-11 Yang Yujie <yangyujie@loongson.cn>
+
+ PR target/113233
+ * config/loongarch/genopts/loongarch.opt.in: Mark options with
+ the "Save" property.
+ * config/loongarch/loongarch.opt: Same.
+ * config/loongarch/loongarch-opts.cc: Refresh -mcmodel= state
+ according to la_target.
+ * config/loongarch/loongarch.cc: Implement TARGET_OPTION_{SAVE,
+ RESTORE} for the la_target structure; Rename option conditions
+ to have the same "la_" prefix.
+ * config/loongarch/loongarch.h: Same.
+
+2024-01-11 Pan Li <pan2.li@intel.com>
+
+ * loop-unroll.cc (insert_var_expansion_initialization): Leverage
+ MODE_HAS_SIGNED_ZEROS for expansion variable initialization.
+
+2024-01-11 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113077
+ * config/aarch64/aarch64-ldp-fusion.cc (filter_notes): Add
+ fr_expr param to extract REG_FRAME_RELATED_EXPR notes.
+ (combine_reg_notes): Handle REG_FRAME_RELATED_EXPR notes, and
+ synthesize these if needed. Update caller ...
+ (ldp_bb_info::fuse_pair): ... here.
+ (ldp_bb_info::try_fuse_pair): Punt if either insn has writeback
+ and either insn is frame-related.
+ (find_trailing_add): Punt on frame-related insns.
+ * config/aarch64/aarch64.cc (aarch64_save_callee_saves): Use
+ REG_FRAME_RELATED_EXPR instead of REG_CFA_OFFSET.
+
+2024-01-11 YunQiang Su <syq@gcc.gnu.org>
+
+ * config/mips/mips.cc (mips_start_function_definition):
+ Add ATTRIBUTE_UNUSED.
+
+2024-01-11 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/112740
+ * expr.cc (store_constructor): Check the integer vector
+ mask has a single bit per element before using sign-extension
+ to expand an uniform vector.
+
+2024-01-11 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * config/riscv/riscv-vector-costs.cc (costs::better_main_loop_than_p): VLA
+ preempt VLS on unknown NITERS loop.
+
+2024-01-11 Haochen Jiang <haochen.jiang@intel.com>
+
+ * doc/invoke.texi: Add -mevex512.
+
+2024-01-11 Lulu Cheng <chenglulu@loongson.cn>
+
+ * config/loongarch/loongarch.md (one_cmpl<mode>2): Replace GPR with X.
+ (*nor<mode>3): Likewise.
+ (nor<mode>3): Likewise.
+ (*negsi2_extended): New template.
+ (*<optab>si3_internal): Likewise.
+ (*one_cmplsi2_internal): Likewise.
+ (*norsi3_internal): Likewise.
+ (*<optab>nsi_internal): Likewise.
+ (bytepick_w_<bytepick_imm>_extend): Modify this template according to the
+ modified bit operation to make the optimization work.
+
+2024-01-11 liuhongt <hongtao.liu@intel.com>
+
+ PR target/104401
+ * match.pd (VEC_COND_EXPR: A < B ? A : B -> MIN_EXPR): New patten match.
+
2024-01-10 Juzhe-Zhong <juzhe.zhong@rivai.ai>
* config/riscv/riscv.cc (get_common_costs): Switch RVV cost model.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index f62216e..8f71cba 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240111
+20240112
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 5c62920..47019bd 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2024-01-11 Julian Brown <julian@codesourcery.com>
+
+ * c-pretty-print.cc (c_pretty_printer::postfix_expression,
+ c_pretty_printer::expression): Add OMP_ARRAY_SECTION support.
+
2024-01-09 waffl3x <waffl3x@protonmail.com>
PR c++/102609
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 683964dd9..e312398 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,35 @@
+2024-01-11 Julian Brown <julian@codesourcery.com>
+
+ * c-parser.cc (c_parser_braced_init, c_parser_conditional_expression):
+ Don't allow OpenMP array section.
+ (c_parser_postfix_expression): Don't allow array section in statement
+ expression.
+ (c_parser_postfix_expression_after_primary): Add support for OpenMP
+ array section parsing.
+ (c_parser_expr_list): Don't allow OpenMP array section here.
+ (c_parser_omp_variable_list): Change ALLOW_DEREF parameter to
+ MAP_LVALUE. Support parsing of general lvalues in "map", "to" and
+ "from" clauses.
+ (c_parser_omp_var_list_parens): Change ALLOW_DEREF parameter to
+ MAP_LVALUE. Update call to c_parser_omp_variable_list.
+ (c_parser_oacc_data_clause): Update calls to
+ c_parser_omp_var_list_parens.
+ (c_parser_omp_clause_reduction): Use OMP_ARRAY_SECTION tree node
+ instead of TREE_LIST for array sections.
+ (c_parser_omp_target): Allow GOMP_MAP_ATTACH.
+ * c-tree.h (c_omp_array_section_p): Add extern declaration.
+ (build_omp_array_section): Add prototype.
+ * c-typeck.cc (c_omp_array_section_p): Add flag.
+ (mark_exp_read): Support OMP_ARRAY_SECTION.
+ (build_omp_array_section): Add function.
+ (build_external_ref): Tweak error path for OpenMP array sections.
+ (handle_omp_array_sections_1): Use OMP_ARRAY_SECTION tree code instead
+ of TREE_LIST. Handle more kinds of expressions.
+ (c_oacc_check_attachments): Use OMP_ARRAY_SECTION instead of TREE_LIST
+ for array sections.
+ (c_finish_omp_clauses): Use OMP_ARRAY_SECTION instead of TREE_LIST.
+ Check for supported expression types.
+
2024-01-09 Tamar Christina <tamar.christina@arm.com>
PR c/113267
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 7b183c6..6fc59fc 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,16 @@
+2024-01-11 Jason Merrill <jason@redhat.com>
+
+ PR c++/113191
+ * class.cc (xobj_iobj_parameters_correspond): Add context parm.
+ (object_parms_correspond): Factor out of...
+ (add_method): ...here.
+ * method.cc (defaulted_late_check): Use it.
+ * call.cc (class_of_implicit_object): New.
+ (object_parms_correspond): Overload taking two candidates.
+ (cand_parms_match): Use it.
+ (joust): Check reversed before comparing constraints.
+ * cp-tree.h (object_parms_correspond): Declare.
+
2024-01-10 Tamar Christina <tamar.christina@arm.com>
* parser.cc (cp_parser_pragma): Initialize to false.
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index ca4a134..c1904d8 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,32 @@
+2024-01-11 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/112946
+ * gm2-compiler/M2GenGCC.mod (IsExpressionCompatible): Import.
+ (ExpressionTypeCompatible): Import.
+ (CodeStatement): Remove op1, op2, op3 parameters from CodeSetOr,
+ CodeSetAnd, CodeSetSymmetricDifference, CodeSetLogicalDifference.
+ (checkArrayElements): Rename op1 to des and op3 to expr.
+ Use despos and exprpos instead of CurrentQuadToken.
+ (checkRecordTypes): Rename op1 to des and op2 to expr.
+ Use virtpos instead of CurrentQuadToken.
+ (checkIncorrectMeta): Ditto.
+ (checkBecomes): Rename op1 to des and op3 to expr.
+ Use virtpos instead of CurrentQuadToken.
+ (NoWalkProcedure): New procedure stub.
+ (CheckBinaryExpressionTypes): New procedure function.
+ (CheckElementSetTypes): New procedure function.
+ (CodeBinarySet): Re-write.
+ (FoldBinarySet): Re-write.
+ (CodeSetOr): Remove parameters op1, op2 and op3.
+ (CodeSetAnd): Ditto.
+ (CodeSetLogicalDifference): Ditto.
+ (CodeSetSymmetricDifference): Ditto.
+ (CodeIfIn): Call CheckBinaryExpressionTypes and
+ CheckElementSetTypes.
+ * gm2-compiler/M2Quads.mod (BuildRotateFunction): Correct
+ parameters to MakeVirtualTok to reflect parameter block
+ passed to Rotate.
+
2024-01-09 Gaius Mulley <gaiusmod2@gmail.com>
PR modula2/112920
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index af068a8..5c68073 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,121 @@
+2024-01-11 Julian Brown <julian@codesourcery.com>
+
+ * gcc.dg/gomp/bad-array-section-c-1.c: New test.
+ * gcc.dg/gomp/bad-array-section-c-2.c: New test.
+ * gcc.dg/gomp/bad-array-section-c-3.c: New test.
+ * gcc.dg/gomp/bad-array-section-c-4.c: New test.
+ * gcc.dg/gomp/bad-array-section-c-5.c: New test.
+ * gcc.dg/gomp/bad-array-section-c-6.c: New test.
+ * gcc.dg/gomp/bad-array-section-c-7.c: New test.
+ * gcc.dg/gomp/bad-array-section-c-8.c: New test.
+
+2024-01-11 Jason Merrill <jason@redhat.com>
+
+ PR c++/113191
+ * g++.dg/cpp2a/concepts-memfun4.C: New test.
+
+2024-01-11 Jin Ma <jinma@linux.alibaba.com>
+
+ * gcc.target/riscv/xtheadfmemidx-medany.c: New test.
+
+2024-01-11 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR middle-end/113322
+ * gcc.c-torture/compile/pr113322-1.c: New test.
+
+2024-01-11 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/113301
+ * gcc.dg/tree-ssa/divide-8.c: New test.
+
+2024-01-11 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/cpp23/explicit-obj-diagnostics7.C: Remove xfail.
+
+2024-01-11 Tamar Christina <tamar.christina@arm.com>
+
+ PR testsuite/113319
+ * gcc.dg/bic-bitmask-13.c: Remove -save-temps.
+ * gcc.dg/bic-bitmask-14.c: Likewise.
+ * gcc.dg/bic-bitmask-15.c: Likewise.
+ * gcc.dg/bic-bitmask-16.c: Likewise.
+ * gcc.dg/bic-bitmask-17.c: Likewise.
+ * gcc.dg/bic-bitmask-18.c: Likewise.
+ * gcc.dg/bic-bitmask-19.c: Likewise.
+ * gcc.dg/bic-bitmask-20.c: Likewise.
+ * gcc.dg/bic-bitmask-21.c: Likewise.
+ * gcc.dg/bic-bitmask-22.c: Likewise.
+ * gcc.dg/bic-bitmask-7.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_1.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_10.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_2.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_3.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_4.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_5.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_6.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_7.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_8.c: Likewise.
+ * gcc.dg/vect/vect-early-break-run_9.c: Likewise.
+
+2024-01-11 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/112505
+ * gcc.dg/vect/pr112505.c: New testcase.
+
+2024-01-11 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/113126
+ * gcc.dg/torture/pr113126.c: New testcase.
+
+2024-01-11 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/112636
+ * gcc.dg/pr112636.c: New testcase.
+
+2024-01-11 Pan Li <pan2.li@intel.com>
+
+ * gcc.dg/pr30957-1.c: Remove.
+
+2024-01-11 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113077
+ * gcc.target/aarch64/pr113077.c: New test.
+
+2024-01-11 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/111003
+ * gcc.dg/tree-ssa/pr111003.c: New testcase.
+
+2024-01-11 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/112740
+ * gcc.dg/pr112740.c: New testcase.
+
+2024-01-11 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * gcc.target/riscv/rvv/autovec/partial/slp-1.c: Remove xfail.
+ * gcc.target/riscv/rvv/autovec/partial/slp-16.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/partial/slp-3.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/partial/slp-5.c: Ditto.
+
+2024-01-11 Lulu Cheng <chenglulu@loongson.cn>
+
+ * gcc.target/loongarch/sign-extend-bitwise.c: New test.
+
+2024-01-11 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr104401.c: New test.
+ * gcc.dg/tree-ssa/pr95906.c: Adjust testcase.
+
+2024-01-11 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/112946
+ * gm2/pim/fail/badbecomes.mod: New test.
+ * gm2/pim/fail/badexpression.mod: New test.
+ * gm2/pim/fail/badexpression2.mod: New test.
+ * gm2/pim/fail/badifin.mod: New test.
+ * gm2/pim/pass/goodifin.mod: New test.
+
2024-01-10 Juzhe-Zhong <juzhe.zhong@rivai.ai>
* gcc.dg/vect/costmodel/riscv/rvv/vla_vs_vls-10.c: Fix test.