]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 13 Apr 2022 00:18:25 +0000 (00:18 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 13 Apr 2022 00:18:25 +0000 (00:18 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index 080c850c15372767b78c01e83eecc5e4bb6a6bf6..43662826186ce12cae9edd2dbb9a38423f5bdd2f 100644 (file)
@@ -1,3 +1,40 @@
+2022-04-12  Peter Bergner  <bergner@linux.ibm.com>
+
+       Backported from master:
+       2022-04-11  Peter Bergner  <bergner@linux.ibm.com>
+
+       PR target/104894
+       * config/rs6000/rs6000.c (rs6000_sibcall_aix): Handle pcrel sibcalls
+       to longcall functions.
+
+2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/105235
+       * tree-ssa-math-opts.c (execute_cse_conv_1): Clean EH and
+       return whether the CFG changed.
+       (execute_cse_sincos_1): Adjust.
+
+2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/105232
+       * tree.c (component_ref_size): Bail out for too large
+       or non-constant sizes.
+
+2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/105226
+       * tree-vect-loop-manip.c (vect_loop_versioning): Verify
+       we can split the exit of an outer loop we choose to version.
+
 2022-04-11  Kito Cheng  <kito.cheng@sifive.com>
 
        Backported from master:
index abfb32ab33cf8997f86e9f775651d7e1117bedd6..e49fcfa303068bcc1997f1b37e70b40e77d69661 100644 (file)
@@ -1 +1 @@
-20220412
+20220413
index 5bfc1757429f98e774d794827646325e12a34bec..7123214e2f3818b5f7f36ddef52776aa09318e01 100644 (file)
@@ -1,3 +1,117 @@
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-02-16  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/104507
+       * constexpr.c (potential_constant_expression_1)
+       <case NON_DEPENDENT_EXPR>: Return false instead of recursing.
+       Assert tf_error isn't set.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-02-08  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/103706
+       * constraint.cc (satisfy_declaration_constraints): Use
+       lambda_regenerating_args instead.
+       * cp-tree.h (lambda_regenerating_args): Declare.
+       * pt.c (lambda_regenerating_args): Define, split out from
+       satisfy_declaration_constraints.
+       (do_auto_deduction): Use lambda_regenerating_args to obtain the
+       full set of outer template arguments for satisfaction when
+       inside a lambda.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-01-28  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/103341
+       * decl.c (cp_finish_decl): Pass the template arguments of a
+       variable template specialization or a templated static data
+       member to do_auto_deduction when the auto is constrained.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-01-25  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/101532
+       PR c++/104225
+       * decl2.c (mark_used): Don't consider maybe_instantiate_noexcept
+       on a deleted function.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/103105
+       * pt.c (build_extra_args): Call preserve_args.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-02-08  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/103706
+       * pt.c (preserve_args): New function.
+       (tsubst_lambda_expr): Use it when setting LAMBDA_EXPR_REGEN_INFO.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/98249
+       * call.c (build_operator_new_call): Just look in ::.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100608
+       * name-lookup.c (check_local_shadow): Use -Wshadow=local
+       if exactly one of 'old' and 'decl' is a type.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/101677
+       * name-lookup.h (struct cp_binding_level): Add requires_expression
+       bit-field.
+       * parser.c (cp_parser_requires_expression): Set it.
+       (synthesize_implicit_template_parm): Check it.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/105003
+       PR c++/104008
+       PR c++/102869
+       * pt.c (complex_alias_template_r): walk_tree callback,  replacing
+       uses_all_template_parms_r, complex_pack_expansion_r.
+       (complex_alias_template_p): Adjust.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/101894
+       * decl.c (duplicate_decls): Copy DECL_FRIEND_CONTEXT.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/103943
+       * pt.c (tsubst_qualified_id): Handle getting SCOPE_REF from
+       tsubst_baselink.
+       (instantiation_dependent_scope_ref_p): Check dependent_scope_p.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/101717
+       * lambda.c (lambda_expr_this_capture): Check all enclosing
+       lambdas for completeness.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/101051
+       * decl.c (grokdeclarator): Reject conversion with trailing return
+       sooner.
+
 2022-04-08  Patrick Palka  <ppalka@redhat.com>
 
        Backported from master:
index a23f090edaf6678a0d6ebf312672a887912d16ec..5105d89353f6f21e7467a885d943b100e37f98b8 100644 (file)
@@ -1,3 +1,124 @@
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-02-16  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/104507
+       * g++.dg/template/non-dependent21.C: New test.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-02-08  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/103706
+       * g++.dg/cpp2a/concepts-lambda18.C: New test.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-01-28  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/103341
+       * g++.dg/cpp2a/concepts-class4.C: New test.
+       * g++.dg/cpp2a/concepts-var-templ2.C: New test.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-01-25  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/101532
+       PR c++/104225
+       * g++.dg/cpp0x/nsdmi-template21.C: New test.
+       * g++.dg/cpp0x/nsdmi-template21a.C: New test.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/103105
+       * g++.dg/cpp2a/concepts-requires29.C: New test.
+       * g++.dg/cpp2a/concepts-requires29a.C: New test.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-02-08  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/103706
+       * g++.dg/cpp2a/concepts-lambda19.C: New test.
+
+2022-04-12  Peter Bergner  <bergner@linux.ibm.com>
+
+       Backported from master:
+       2022-04-11  Peter Bergner  <bergner@linux.ibm.com>
+
+       PR target/104894
+       * gcc.target/powerpc/pr104894.c: New test.
+       * gcc.target/powerpc/pr104894-2.c: New test.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/98249
+       * g++.dg/lookup/new3.C: New test.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100608
+       * g++.dg/warn/Wshadow-compatible-local-3.C: New test.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/101677
+       * g++.dg/cpp2a/concepts-pr67178.C: Adjust error.
+       * g++.dg/cpp2a/concepts-requires28.C: New test.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/105003
+       PR c++/104008
+       PR c++/102869
+       * g++.dg/cpp0x/variadic-alias6.C: New test.
+       * g++.dg/cpp0x/variadic-alias7.C: New test.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/101894
+       * g++.dg/lookup/friend22.C: New test.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/103943
+       * g++.dg/cpp1z/class-deduction109.C: New test.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/101717
+       * g++.dg/cpp1y/lambda-generic-this4.C: New test.
+
+2022-04-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/101051
+       * g++.dg/cpp0x/trailing15.C: New test.
+
+2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/105235
+       * g++.dg/opt/pr105235-1.C: New testcase.
+
+2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2022-04-12  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/105226
+       * gcc.dg/pr105226.c: New testcase.
+
 2022-04-11  Alexandre Oliva  <oliva@adacore.com>
 
        Backported from master:
index 6d48a7be1779a00c990912252083d202151fc3c3..89911f17c2895622680b7f961e80e1cc67a23adc 100644 (file)
@@ -1,3 +1,146 @@
+2022-04-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-01-27  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/100516
+       * include/bits/deque.tcc (_M_range_initialize<ForwardIterator>):
+       Add __builtin_unreachable to loop.
+       * testsuite/23_containers/deque/100516.cc: New test.
+
+2022-04-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2021-12-09  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/103630
+       * libsupc++/exception_ptr.h (exception_ptr): Fix exception
+       specifications on inline definitions.
+       (make_exception_ptr): Decay the template parameter. Use typeid
+       of the static type.
+       * testsuite/18_support/exception_ptr/103630.cc: New test.
+
+2022-04-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-03-23  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/105021
+       * include/bits/atomic_base.h [!_GLIBCXX_HOSTED]: Do not include
+       <bits/atomic_wait.h> for freestanding.
+
+2022-04-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2021-12-10  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/103638
+       * include/bits/atomic_timed_wait.h: Check _GLIBCXX_HAS_GTHREADS
+       before using std::mutex and std::__condvar.
+
+2022-04-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2021-10-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/variant (__detail::__variant::__as): Add missing
+       noexcept to first overload.
+
+2022-04-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2021-10-01  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/90943
+       * include/std/variant (__cpp_lib_variant): Update value.
+       (__detail::__variant::__as): New helpers implementing the
+       as-variant exposition-only function templates.
+       (visit, visit<R>): Use __as to upcast the variant parameters.
+       * include/std/version (__cpp_lib_variant): Update value.
+       * testsuite/20_util/variant/visit_inherited.cc: New test.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2022-01-12  Patrick Palka  <ppalka@redhat.com>
+
+       PR libstdc++/103955
+       * src/c++17/floating_to_chars.cc (__floating_to_chars_hex):
+       Track the excess precision separately from the effective
+       precision.  Avoid overflow in bounds check by splitting it into
+       two checks.
+       (__floating_to_chars_precision): Avoid overflow in bounds checks
+       similarly.
+       * testsuite/20_util/to_chars/103955.cc: New test.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2021-10-21  Patrick Palka  <ppalka@redhat.com>
+
+       * include/bits/stl_iterator.h (common_iterator::__arrow_proxy):
+       Make fully constexpr as per LWG 3595.
+       (common_iterator::__postfix_proxy): Likewise.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2021-10-21  Patrick Palka  <ppalka@redhat.com>
+
+       * include/std/ranges (split_view::base): Add forward_range
+       constraint as per LWG 3591.
+       (split_view::begin, lazy_split_view::end): Also check
+       simpleness of _Pattern as per LWG 3592.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2021-10-21  Patrick Palka  <ppalka@redhat.com>
+
+       * include/std/ranges (join_view::__iter_cat::_S_iter_cat): Adjust
+       criteria for returning bidirectional_iterator_tag as per LWG 3535.
+       (join_view::_Iterator::_S_iter_concept): Likewise.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2021-10-21  Patrick Palka  <ppalka@redhat.com>
+
+       * include/bits/ranges_base.h (viewable_range): Adjust as per
+       LWG 3481.
+       * testsuite/std/ranges/adaptors/all.cc (test07): New test.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2021-10-19  Patrick Palka  <ppalka@redhat.com>
+
+       * include/std/ranges (iota_view::_Iterator::operator+): Adjust
+       definition as per LWG 3580.
+       (iota_view::_Iterator::operator-): Likewise.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2021-10-19  Patrick Palka  <ppalka@redhat.com>
+
+       * include/bits/ranges_util.h
+       (__detail::__uses_nonqualification_pointer_conversion): Define
+       and use it ...
+       (__detail::__convertible_to_nonslicing): ... here, as per LWG 3470.
+       * testsuite/std/ranges/subrange/1.cc: New test.
+
+2022-04-12  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2021-10-19  Patrick Palka  <ppalka@redhat.com>
+
+       * include/std/ranges (iota_view::_Iterator): Befriend iota_view.
+       (iota_view::_Sentinel): Likewise.
+       (iota_view::iota_view): Add three overloads, each taking an
+       iterator/sentinel pair as per LWG 3523.
+       * testsuite/std/ranges/iota/iota_view.cc (test06): New test.
+
 2022-04-07  Patrick Palka  <ppalka@redhat.com>
 
        Backported from master: