]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 26 Nov 2021 00:16:26 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 26 Nov 2021 00:16:26 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
libgcc/ChangeLog
libstdc++-v3/ChangeLog

index 6e08b0bee02c9f80784ecbcb7a48ccad80eb021c..041c645c004d0656b71ea21d3ac1c1fc0e36a3ad 100644 (file)
@@ -1,3 +1,118 @@
+2021-11-25  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-cp.c (ipa_value_range_from_jfunc): Remove forgotten early return.
+
+2021-11-25  Roger Sayle  <roger@nextmovesoftware.com>
+
+       PR middle-end/103406
+       * match.pd (minus @0 @0): Check tree_expr_maybe_infinite_p.
+
+2021-11-25  Martin Jambor  <mjambor@suse.cz>
+
+       PR ipa/103227
+       * ipa-prop.h (ipa_get_param): New overload.  Move bits of the existing
+       one to the new one.
+       * ipa-param-manipulation.h (ipa_param_adjustments): New member
+       function get_updated_index_or_split.
+       * ipa-param-manipulation.c
+       (ipa_param_adjustments::get_updated_index_or_split): New function.
+       * ipa-prop.c (adjust_agg_replacement_values): Reimplement, add
+       capability to identify scalarized parameters and perform substitution
+       on them.
+       (ipcp_transform_function): Create descriptors earlier, handle new
+       return values of adjust_agg_replacement_values.
+
+2021-11-25  Aldy Hernandez  <aldyh@redhat.com>
+
+       * gimple-range-path.cc (path_range_query::compute_ranges_defined): Remove.
+       (path_range_query::compute_ranges_in_block): Revert to bitmap order.
+       * gimple-range-path.h: Remove compute_ranges_defined.
+
+2021-11-25  Andrew Stubbs  <ams@codesourcery.com>
+
+       PR target/103396
+       * config/gcn/gcn.c (move_callee_saved_registers): Ensure that the
+       number of spilled registers is counted correctly.
+
+2021-11-25  Jan Hubicka  <hubicka@ucw.cz>
+
+       * ipa-prop.h (ipa_node_params::ipa_node_params): Initialize
+       node_is_self_scc.
+
+2021-11-25  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR tree-optimization/103359
+       * gimple-range-fold.cc (fold_using_range::range_of_phi): If arg is
+       equivalent to def, don't initially include it's range.
+
+2021-11-25  Jan Hubicka  <hubicka@ucw.cz>
+
+       * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Do not check
+       gimple_static_chain.
+
+2021-11-25  Richard Biener  <rguenther@suse.de>
+
+       * cgraphunit.c (symbol_table::output_weakrefs): Remove
+       unreachable init.
+       (get_alias_symbol): Remove now unused function.
+
+2021-11-25  Richard Biener  <rguenther@suse.de>
+
+       * cfgrtl.c (rtl_verify_fallthru): Do not stop verifying
+       with fatal_insn.
+       (skip_insns_after_block): Remove unreachable break and continue.
+
+2021-11-25  Richard Biener  <rguenther@suse.de>
+
+       * cfgexpand.c (label_rtx_for_bb): Remove dead loop construct.
+
+2021-11-25  Richard Biener  <rguenther@suse.de>
+
+       * regset.h (REG_SET_EMPTY_P): New macro.
+       * cfgcleanup.c (thread_jump): Use REG_SET_EMPTY_P.
+
+2021-11-25  Martin Liska  <mliska@suse.cz>
+
+       * doc/invoke.texi: Use @option for -Wuninitialized.
+
+2021-11-25  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR tree-optimization/103254
+       * gimple-range-path.cc (path_range_query::compute_ranges): Move
+       exported boolean code...
+       (path_range_query::compute_imports): ...here.
+
+2021-11-25  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR tree-optimization/103254
+       * gimple-range-path.cc (path_range_query::compute_ranges_defined): New
+       (path_range_query::compute_ranges_in_block): Move to
+       compute_ranges_defined.
+       * gimple-range-path.h (compute_ranges_defined): New.
+
+2021-11-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/103417
+       * match.pd ((X & Y) CMP 0): Only handle eq and ne.  Commonalize
+       common tests.
+
+2021-11-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/103376
+       * gimple-ssa-store-merging.c (perform_symbolic_merge): For
+       BIT_IOR_EXPR, if masked1 && masked2 && masked1 != masked2, don't
+       punt, but set the corresponding result byte to MARKER_BYTE_UNKNOWN.
+       For BIT_XOR_EXPR similarly and if masked1 == masked2 and the
+       byte isn't MARKER_BYTE_UNKNOWN, set the corresponding result byte to
+       0.
+
+2021-11-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/102611
+       * doc/invoke.texi (-Wcomma-subscript): Document that for
+       -std=c++20 the option isn't enabled by default with -Wno-deprecated
+       but for -std=c++23 it is.
+
 2021-11-24  Jan Hubicka  <hubicka@ucw.cz>
 
        * ipa-modref.c (implicit_eaf_flags_for_edge_and_arg): Break out from...
index f9671d2b00c4032bc29be7d8fb46edead9bac12a..045d8fc9bc873d1da34f8394a5ca16f1e62f108c 100644 (file)
@@ -1 +1 @@
-20211125
+20211126
index 9cbba19fbd81e7b196a8f828818b1c8d48b29668..813062e2340be9e6af3896927febf45f8595d1b8 100644 (file)
@@ -1,3 +1,11 @@
+2021-11-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/102611
+       * c-opts.c (c_common_post_options): Enable -Wcomma-subscript by
+       default for C++23 regardless of warn_deprecated.
+       * c-cppbuiltin.c (c_cpp_builtins): Predefine
+       __cpp_multidimensional_subscript=202110L for C++23.
+
 2021-11-23  Martin Sebor  <msebor@redhat.com>
 
        PR middle-end/88232
index 663f36ec97adb25e542eaf1cc332596f2268f71d..6ac1e3da0191e7e54ce03fefa31e3146a0ac6d5d 100644 (file)
@@ -1,3 +1,44 @@
+2021-11-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/101180
+       * pt.c (apply_late_template_attributes): Return early if there are no
+       dependent attributes.
+
+2021-11-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/102611
+       * cp-tree.h (build_op_subscript): Implement P2128R6
+       - Multidimensional subscript operator.  Declare.
+       (class releasing_vec): Add release method.
+       (grok_array_decl): Remove bool argument, add vec<tree, va_gc> **
+       and tsubst_flags_t arguments.
+       (build_min_non_dep_op_overload): Declare another overload.
+       * parser.c (cp_parser_parenthesized_expression_list_elt): New function.
+       (cp_parser_postfix_open_square_expression): Mention C++23 syntax in
+       function comment.  For C++23 parse zero or more than one initializer
+       clauses in expression list, adjust grok_array_decl caller.
+       (cp_parser_parenthesized_expression_list): Use
+       cp_parser_parenthesized_expression_list_elt.
+       (cp_parser_builtin_offsetof): Adjust grok_array_decl caller.
+       * decl.c (grok_op_properties): For C++23 don't check number
+       of arguments of operator[].
+       * decl2.c (grok_array_decl): Remove decltype_p argument, add
+       index_exp_list and complain arguments.  If index_exp is NULL,
+       handle *index_exp_list as the subscript expression list.
+       * tree.c (build_min_non_dep_op_overload): New overload.
+       * call.c (add_operator_candidates, build_over_call): Adjust comments
+       for removal of build_new_op_1.
+       (build_op_subscript): New function.
+       * pt.c (tsubst_copy_and_build_call_args): New function.
+       (tsubst_copy_and_build) <case ARRAY_REF>: If second
+       operand is magic CALL_EXPR with ovl_op_identifier (ARRAY_REF)
+       as CALL_EXPR_FN, tsubst CALL_EXPR arguments including expanding
+       pack expressions in it and call grok_array_decl instead of
+       build_x_array_ref.
+       <case CALL_EXPR>: Use tsubst_copy_and_build_call_args.
+       * semantics.c (handle_omp_array_sections_1): Adjust grok_array_decl
+       caller.
+
 2021-11-24  Marek Polacek  <polacek@redhat.com>
 
        PR c++/103347
index 17f06814b654da90895039c5a9d601f3435142de..3f1741e6c0d786224bcc1d27d428c7c3d8b27945 100644 (file)
@@ -1,3 +1,61 @@
+2021-11-25  Jan Hubicka  <jh@suse.cz>
+
+       * gcc.dg/ipa/inline10.c: New test.
+
+2021-11-25  Roger Sayle  <roger@nextmovesoftware.com>
+
+       PR middle-end/103406
+       * gcc.dg/pr103406.c: New test case.
+
+2021-11-25  Martin Jambor  <mjambor@suse.cz>
+
+       PR ipa/103227
+       * gcc.dg/ipa/pr103227-1.c: New test.
+       * gcc.dg/ipa/pr103227-3.c: Likewise.
+       * gcc.dg/ipa/pr103227-2.c: Likewise.
+       * gfortran.dg/pr53787.f90: Disable IPA-SRA.
+
+2021-11-25  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR tree-optimization/102648
+       * gcc.dg/pr102648.c: New.
+
+2021-11-25  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR tree-optimization/103359
+       * gcc.dg/pr103359.c: New.
+
+2021-11-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/103417
+       * gcc.c-torture/execute/pr103417.c: New test.
+
+2021-11-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/103376
+       * gcc.dg/optimize-bswapsi-7.c: New test.
+
+2021-11-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/102611
+       * g++.dg/cpp2a/comma1.C: Expect different diagnostics for C++23.
+       * g++.dg/cpp2a/comma3.C: Likewise.
+       * g++.dg/cpp2a/comma4.C: Expect diagnostics for C++23.
+       * g++.dg/cpp2a/comma5.C: Expect different diagnostics for C++23.
+       * g++.dg/cpp23/feat-cxx2b.C: Test __cpp_multidimensional_subscript
+       predefined macro.
+       * g++.dg/cpp23/subscript1.C: New test.
+       * g++.dg/cpp23/subscript2.C: New test.
+       * g++.dg/cpp23/subscript3.C: New test.
+       * g++.dg/cpp23/subscript4.C: New test.
+       * g++.dg/cpp23/subscript5.C: New test.
+       * g++.dg/cpp23/subscript6.C: New test.
+
+2021-11-25  H.J. Lu  <hjl.tools@gmail.com>
+
+       * gcc.target/i386/pr103194-5.c: Include <stdint.h>.
+       Replace long with int64_t.
+
 2021-11-24  Jan Hubicka  <hubicka@ucw.cz>
 
        * gcc.c-torture/execute/pr103405.c: New test.
index adeff81653e54f408f619af6bb4109f5d99ce585..bf3cad2d3aaf6a8f2bf8928c206dabfcb9f8610b 100644 (file)
@@ -1,3 +1,12 @@
+2021-11-25  Florian Weimer  <fweimer@redhat.com>
+
+       * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
+       Remove func, ret.
+       (find_fde_tail): New function.  Split from
+       _Unwind_IteratePhdrCallback.  Move the result initialization
+       from _Unwind_Find_FDE.
+       (_Unwind_Find_FDE): Updated to call find_fde_tail.
+
 2021-11-22  Florian Weimer  <fweimer@redhat.com>
 
        * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
index 9a38924d66371ad8b7f663656dee20682bc39c78..a12383b6e3f4747507498fb6a6793d4650c57ac9 100644 (file)
@@ -1,3 +1,25 @@
+2021-11-25  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/20_util/tuple/comparison_operators/overloaded2.cc:
+       Remove dg-error for C++11_only error.
+
+2021-11-25  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/96416
+       * include/bits/ptr_traits.h (pointer_traits): Reimplement to be
+       SFINAE-friendly (LWG 3545).
+       * testsuite/20_util/pointer_traits/lwg3545.cc: New test.
+       * testsuite/20_util/to_address/1_neg.cc: Adjust dg-error line.
+       * testsuite/20_util/to_address/lwg3545.cc: New test.
+
+2021-11-25  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/101608
+       * include/bits/ranges_algobase.h (__fill_n_fn): Check for
+       constant evaluation before using memset.
+       * testsuite/25_algorithms/fill_n/constrained.cc: Check
+       byte-sized values as well.
+
 2021-11-24  Jonathan Wakely  <jwakely@redhat.com>
 
        * testsuite/libstdc++-prettyprinters/80276.cc: Add xfail for