aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-03-25 00:17:18 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-03-25 00:17:18 +0000
commit6fc4a993cebc960c9556d840dc7c109b1b08b295 (patch)
tree931315fdc1eaa2e14915466819129aea5835394b /gcc
parent21079cb82bff1048596b935bbf6a86f49e78a2f3 (diff)
downloadgcc-6fc4a993cebc960c9556d840dc7c109b1b08b295.zip
gcc-6fc4a993cebc960c9556d840dc7c109b1b08b295.tar.gz
gcc-6fc4a993cebc960c9556d840dc7c109b1b08b295.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog49
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog42
-rw-r--r--gcc/testsuite/ChangeLog80
5 files changed, 178 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9640ffe..bddb065 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,52 @@
+2022-03-24 Alexandre Oliva <oliva@adacore.com>
+
+ PR debug/104564
+ * gimple-harden-conditionals.cc (detach_value): Keep temps
+ anonymous.
+
+2022-03-24 Alexandre Oliva <oliva@adacore.com>
+
+ PR middle-end/104975
+ * gimple-harden-conditionals.cc
+ (pass_harden_compares::execute): Force split in case of
+ multiple edges.
+
+2022-03-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/105035
+ * fold-const.cc (operand_equal_p) <case COMPONENT_REF>: If either
+ field0 or field1 is not a FIELD_DECL, return false.
+
+2022-03-24 Richard Biener <rguenther@suse.de>
+
+ * tree-predcom.cc (chain::chain): Add CTOR.
+ (component::component): Likewise.
+ (pcom_worker::release_chain): Use delete.
+ (release_components): Likewise.
+ (pcom_worker::filter_suitable_components): Likewise.
+ (pcom_worker::split_data_refs_to_components): Use new.
+ (make_invariant_chain): Likewise.
+ (make_rooted_chain): Likewise.
+ (pcom_worker::combine_chains): Likewise.
+ * tree-vect-loop.cc (vect_create_epilog_for_reduction):
+ Make sure to release previously constructed scalar_results.
+ * tree-vect-stmts.cc (vectorizable_load): Use auto_vec
+ for vec_offsets.
+ * vr-values.cc (simplify_using_ranges::~simplify_using_ranges):
+ Release m_flag_set_edges.
+
+2022-03-24 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/104970
+ * tree-object-size.cc (parm_object_size): Restrict size
+ computation scenarios to explicit access attributes.
+
+2022-03-24 Kewen Lin <linkw@linux.ibm.com>
+
+ PR target/104967
+ * config/rs6000/rs6000-c.cc (find_instance): Skip instances with null
+ function types.
+
2022-03-23 Richard Biener <rguenther@suse.de>
PR target/102125
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index a4374e6..5751623 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220324
+20220325
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index fac0026..932a666 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,9 @@
+2022-03-24 Pascal Obry <obry@adacore.com>
+
+ PR ada/104767
+ * libgnat/g-sercom__mingw.adb (Close): Reset port handle to -1.
+ * libgnat/g-sercom__linux.adb (Close): Likewise.
+
2022-03-10 Richard Biener <rguenther@suse.de>
PR ada/104861
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 215aad5..6a1524b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,45 @@
+2022-03-24 Marek Polacek <polacek@redhat.com>
+
+ PR c++/104284
+ * decl.cc (check_initializer): Don't call build_aggr_init in
+ a template.
+
+2022-03-24 Jason Merrill <jason@redhat.com>
+
+ PR c++/96645
+ * cp-tree.h (type_has_default_ctor_to_be_synthesized): Declare.
+ * class.cc (type_has_default_ctor_to_be_synthesized): New.
+ (type_has_non_user_provided_default_constructor_1): Support it.
+ (type_has_non_user_provided_default_constructor): Now a wrapper.
+ * method.cc (complain_about_unparsed_dmi): New.
+ (constructible_expr): Call it.
+
+2022-03-24 Marek Polacek <polacek@redhat.com>
+
+ PR c++/102990
+ * typeck2.cc (massage_init_elt): Avoid folding CONSTRUCTORs.
+
+2022-03-24 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/104620
+ * call.cc (build_over_call): Use cxx_constant_value_sfinae
+ instead of cxx_constant_value to evaluate a consteval call.
+ * constexpr.cc (cxx_constant_value_sfinae): Add decl parameter
+ and pass it to cxx_eval_outermost_constant_expr.
+ * cp-tree.h (cxx_constant_value_sfinae): Add decl parameter.
+ * pt.cc (fold_targs_r): Pass NULL_TREE as decl parameter to
+ cxx_constant_value_sfinae.
+
+2022-03-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/104994
+ * constexpr.cc (cxx_eval_constant_expression): Don't diagnose passing
+ through extern thread_local declarations. Change wording from
+ declaration to definition.
+ (potential_constant_expression_1): Don't diagnose extern thread_local
+ declarations. Change wording from declared to defined.
+ * decl.cc (start_decl): Likewise.
+
2022-03-23 Jason Merrill <jason@redhat.com>
PR c++/103337
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d41b8e9..e87cc86 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,83 @@
+2022-03-24 Marek Polacek <polacek@redhat.com>
+
+ PR c++/104284
+ * g++.dg/cpp1y/constexpr-104284-1.C: New test.
+ * g++.dg/cpp1y/constexpr-104284-2.C: New test.
+ * g++.dg/cpp1y/constexpr-104284-3.C: New test.
+ * g++.dg/cpp1y/constexpr-104284-4.C: New test.
+
+2022-03-24 Jason Merrill <jason@redhat.com>
+
+ PR c++/96645
+ * g++.dg/ext/is_constructible3.C: Expect error.
+ * g++.dg/ext/is_constructible7.C: New test.
+
+2022-03-24 Marek Polacek <polacek@redhat.com>
+
+ PR c++/102990
+ * g++.dg/cpp0x/nsdmi-template22.C: New test.
+ * g++.dg/cpp0x/nsdmi-template23.C: New test.
+
+2022-03-24 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/104620
+ * g++.dg/cpp23/consteval-if2.C: XFAIL two dg-error tests where
+ the argument to the non-constant non-dependent consteval call is
+ wrapped by NON_DEPENDENT_EXPR.
+ * g++.dg/cpp2a/consteval30.C: New test.
+
+2022-03-24 Alexandre Oliva <oliva@adacore.com>
+
+ PR debug/104564
+ * c-c++-common/torture/harden-comp.c: Adjust.
+ * c-c++-common/torture/harden-cond.c: Adjust.
+
+2022-03-24 Alexandre Oliva <oliva@adacore.com>
+
+ PR middle-end/104975
+ * gcc.dg/pr104975.c: New.
+
+2022-03-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/102024
+ * gcc.dg/compat/pr102024_main.c: New test.
+ * gcc.dg/compat/pr102024_test.h: New test.
+ * gcc.dg/compat/pr102024_x.c: New test.
+ * gcc.dg/compat/pr102024_y.c: New test.
+ * g++.dg/compat/pr102024_main.C: New test.
+ * g++.dg/compat/pr102024_test.h: New test.
+ * g++.dg/compat/pr102024_x.C: New test.
+ * g++.dg/compat/pr102024_y.C: New test.
+
+2022-03-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/105035
+ * g++.dg/warn/Wduplicated-cond2.C: New test.
+
+2022-03-24 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/104970
+ * gcc.dg/builtin-dynamic-object-size-0.c (test_parmsz_simple2,
+ test_parmsz_simple3, test_parmsz_extern, test_parmsz_internal,
+ test_parmsz_internal2, test_parmsz_internal3): New tests.
+ (main): Use them.
+
+2022-03-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/104994
+ * g++.dg/diagnostic/constexpr1.C: Change expected diagnostic wording
+ from declared to defined.
+ * g++.dg/cpp23/constexpr-nonlit1.C: Likewise.
+ (garply): Change dg-error into dg-bogus.
+ * g++.dg/cpp23/constexpr-nonlit2.C: Change expected diagnostic wording
+ from declaration to definition.
+ * g++.dg/cpp23/constexpr-nonlit6.C: Change expected diagnostic wording
+ from declared to defined.
+ * g++.dg/cpp23/constexpr-nonlit7.C: New test.
+ * g++.dg/cpp2a/constexpr-try5.C: Change expected diagnostic wording
+ from declared to defined.
+ * g++.dg/cpp2a/consteval3.C: Likewise.
+
2022-03-23 David Malcolm <dmalcolm@redhat.com>
PR analyzer/104979