aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog121
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/cp/ChangeLog25
-rw-r--r--gcc/jit/ChangeLog12
-rw-r--r--gcc/testsuite/ChangeLog72
-rw-r--r--include/ChangeLog4
-rw-r--r--libgomp/ChangeLog9
7 files changed, 244 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8376a11..66e7bb8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,124 @@
+2022-04-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/104985
+ * combine.cc (struct undo): Add where.regno member.
+ (do_SUBST_MODE): Rename to ...
+ (subst_mode): ... this. Change first argument from rtx * into int,
+ operate on regno_reg_rtx[regno] and save regno into where.regno.
+ (SUBST_MODE): Remove.
+ (try_combine): Use subst_mode instead of SUBST_MODE, change first
+ argument from regno_reg_rtx[whatever] to whatever. For UNDO_MODE, use
+ regno_reg_rtx[undo->where.regno] instead of *undo->where.r.
+ (undo_to_marker): For UNDO_MODE, use regno_reg_rtx[undo->where.regno]
+ instead of *undo->where.r.
+ (simplify_set): Use subst_mode instead of SUBST_MODE, change first
+ argument from regno_reg_rtx[whatever] to whatever.
+
+2022-04-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/105069
+ * config/sh/sh.opt (mdiv=): Add Save.
+
+2022-04-06 Martin Liska <mliska@suse.cz>
+
+ PR driver/105096
+ * common.opt: Document properly based on what it does.
+ * gcc.cc (display_help): Unify with what we have in common.opt.
+ * opts.cc (common_handle_option): Do not print undocumented
+ options.
+
+2022-04-06 Xi Ruoyao <xry111@mengyan1223.wang>
+
+ * config/mips/mips.cc (mips_fpr_return_fields): Ignore
+ cxx17_empty_base_field_p fields and set an indicator.
+ (mips_return_in_msb): Adjust for mips_fpr_return_fields change.
+ (mips_function_value_1): Inform psABI change about C++17 empty
+ bases.
+
+2022-04-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/105150
+ * gimple.cc (gimple_builtin_call_types_compatible_p): Use
+ builtin_decl_explicit here...
+ (gimple_call_builtin_p, gimple_call_combined_fn): ... rather than
+ here.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105173
+ * tree-ssa-reassoc.cc (find_insert_point): Get extra
+ insert_before output argument and compute it.
+ (insert_stmt_before_use): Adjust.
+ (rewrite_expr_tree): Likewise.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR ipa/105166
+ * ipa-modref-tree.cc (modref_access_node::get_ao_ref ): Bail
+ out for non-pointer arguments.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105163
+ * tree-ssa-reassoc.cc (repropagate_negates): Avoid propagating
+ negated abnormals.
+
+2022-04-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/105150
+ * gimple.cc (gimple_call_builtin_p, gimple_call_combined_fn):
+ For BUILT_IN_NORMAL calls, call gimple_builtin_call_types_compatible_p
+ preferrably on builtin_decl_explicit decl rather than fndecl.
+ * tree-ssa-strlen.cc (valid_builtin_call): Don't call
+ gimple_builtin_call_types_compatible_p here.
+
+2022-04-06 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/103761
+ * tree-vect-stmts.cc (check_load_store_for_partial_vectors): Replace
+ the ncopies parameter with an slp_node parameter. Calculate the
+ number of vectors based on it and vectype. Rename lambda to
+ group_memory_nvectors.
+ (vectorizable_store, vectorizable_load): Update calls accordingly.
+
+2022-04-06 Martin Liska <mliska@suse.cz>
+
+ * doc/invoke.texi: Document it.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105148
+ * tree-ssa-loop-ivopts.cc (idx_record_use): Walk raw operands
+ 2 and 3 of ARRAY_REFs.
+
+2022-04-06 Roger Sayle <roger@nextmovesoftware.com>
+
+ * config/i386/sse.md (ANDNOT_MODE): New mode iterator for TF and V1TI.
+ (*andnottf3): Replace with...
+ (*andnot<mode>3): New define_insn using ANDNOT_MODE.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105142
+ * gimple-fold.h (maybe_fold_and_comparisons): Add defaulted
+ basic-block parameter.
+ (maybe_fold_or_comparisons): Likewise.
+ * gimple-fold.cc (follow_outer_ssa_edges): New.
+ (maybe_fold_comparisons_from_match_pd): Use follow_outer_ssa_edges
+ when an outer condition basic-block is specified.
+ (and_comparisons_1, and_var_with_comparison,
+ and_var_with_comparison_1, or_comparisons_1,
+ or_var_with_comparison, or_var_with_comparison_1): Receive and pass
+ down the outer condition basic-block.
+ * tree-ssa-ifcombine.cc (ifcombine_ifandif): Pass down the
+ basic-block of the outer condition.
+
+2022-04-06 Kewen Lin <linkw@linux.ibm.com>
+
+ PR target/105002
+ * config/rs6000/rs6000.cc (rs6000_maybe_emit_maxc_minc): Support more
+ comparison codes UNLT/UNLE/UNGT/UNGE.
+
2022-04-05 David Malcolm <dmalcolm@redhat.com>
* doc/extend.texi (Common Function Attributes): Document that
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index d9e2507..0e235be 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220406
+20220407
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 5db636a..032e75c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,28 @@
+2022-04-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/104668
+ * decl2.cc (splice_template_attributes): Return NULL if *p is
+ error_mark_node.
+ (cplus_decl_attributes): Return early if attributes is
+ error_mark_node. Don't check that later.
+
+2022-04-06 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105143
+ * pt.cc (do_class_deduction): Check complain before attempting
+ to issue a -Wctad-maybe-unsupported warning.
+
+2022-04-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/104702
+ * init.cc (build_vec_init): Use a reference for the result.
+
+2022-04-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/100608
+ * name-lookup.cc (check_local_shadow): Use -Wshadow=local
+ if exactly one of 'old' and 'decl' is a type.
+
2022-04-05 Jason Merrill <jason@redhat.com>
PR c++/103852
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index 535daa4..78135db 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -1,3 +1,15 @@
+2022-04-06 David Malcolm <dmalcolm@redhat.com>
+
+ PR jit/102824
+ * docs/_build/texinfo/factorial.png: Move to...
+ * docs/_build/texinfo/libgccjit-figures/factorial.png: ...here.
+ * docs/_build/texinfo/factorial1.png: Move to...
+ * docs/_build/texinfo/libgccjit-figures/factorial1.png: ...here.
+ * docs/_build/texinfo/sum-of-squares.png: Move to...
+ * docs/_build/texinfo/libgccjit-figures/sum-of-squares.png: ...here.
+ * docs/_build/texinfo/sum-of-squares1.png: Move to...
+ * docs/_build/texinfo/libgccjit-figures/sum-of-squares1.png: ...here.
+
2022-04-01 David Malcolm <dmalcolm@redhat.com>
* docs/topics/expressions.rst: Fix formatting.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3d70f27..7615f5a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,75 @@
+2022-04-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/104668
+ * g++.dg/cpp0x/pr104668.C: New test.
+
+2022-04-06 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105143
+ * g++.dg/cpp2a/nodiscard1.C: New test.
+ * g++.dg/warn/Wctad-maybe-unsupported4.C: New test.
+
+2022-04-06 Segher Boessenkool <segher@kernel.crashing.org>
+
+ PR target/105147
+ * gcc.dg/pr105140.c: Skip for powerpc*-*-*.
+
+2022-04-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/104702
+ * g++.dg/warn/Wunused-19.C: New test.
+
+2022-04-06 Xi Ruoyao <xry111@mengyan1223.wang>
+
+ * g++.target/mips/cxx17_empty_base.C: New test.
+
+2022-04-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/100608
+ * g++.dg/warn/Wshadow-compatible-local-3.C: New test.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105173
+ * gcc.dg/pr105173.c: New testcase.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR ipa/105166
+ * gcc.dg/torture/pr105166.c: New testcase.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105163
+ * gcc.dg/torture/pr105163.c: New testcase.
+
+2022-04-06 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/103761
+ * gcc.dg/vect/pr103761.c: New test.
+ * gcc.target/aarch64/sve/pr103761.c: Likewise.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105148
+ * gcc.dg/torture/pr105148.c: New testcase.
+
+2022-04-06 Roger Sayle <roger@nextmovesoftware.com>
+
+ * gcc.target/i386/sse2-v1ti-andnot.c: New test case.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105142
+ * g++.dg/torture/pr105142.C: New testcase.
+
+2022-04-06 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/105122
+ * gcc.dg/memcpy-6.c: Adjust.
+ * gcc.dg/strlenopt-73.c: Likewise.
+ * gcc.dg/strlenopt-80.c: Likewise.
+
2022-04-05 Sandra Loosemore <sandra@codesourcery.com>
* gfortran.dg/gomp/masked-taskloop.f90: New.
diff --git a/include/ChangeLog b/include/ChangeLog
index e8bfe39..ce98851 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2022-04-06 Thomas Schwinge <thomas@codesourcery.com>
+
+ * cuda/cuda.h: New file.
+
2022-03-19 Tiezhu Yang <yangtiezhu@loongson.cn>
* floatformat.h (floatformat_ieee_quad_big): Renamed from
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index f8091c1..ed5cb22 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,12 @@
+2022-04-06 Thomas Schwinge <thomas@codesourcery.com>
+
+ * plugin/cuda/cuda.h: Remove file.
+ * plugin/plugin-nvptx.c [PLUGIN_NVPTX_DYNAMIC]: Include
+ "cuda/cuda.h" instead of <cuda.h>.
+ * plugin/configfrag.ac <PLUGIN_NVPTX_DYNAMIC>: Don't set
+ 'PLUGIN_NVPTX_CPPFLAGS'.
+ * configure: Regenerate.
+
2022-04-05 Chung-Lin Tang <cltang@codesourcery.com>
* testsuite/libgomp.fortran/use_device_ptr-4.f90: New testcase.