]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 26 May 2022 00:16:30 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 26 May 2022 00:16:30 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/d/ChangeLog
gcc/objc/ChangeLog
gcc/testsuite/ChangeLog
libgcc/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index 6267b7a691eae2fa15c3494d57f5b7bae4faa89c..9018df66489113bb9ef149a75247c90a63da9113 100644 (file)
@@ -1,3 +1,83 @@
+2022-05-25  Andrew MacLeod  <amacleod@redhat.com>
+
+       * gimple-range-cache.cc: Adjust comments.
+       * gimple-range-infer.cc: Adjust comments.
+       * gimple-range-infer.h: Adjust comments.
+       * gimple-range.cc: Adjust comments.
+
+2022-05-25  Andrew MacLeod  <amacleod@redhat.com>
+
+       * Makefile.in (OBJS): Use gimple-range-infer.o.
+       * gimple-range-cache.cc (ranger_cache::fill_block_cache): Change msg.
+       (ranger_cache::range_from_dom): Rename var side_effect to infer.
+       (ranger_cache::apply_inferred_ranges): Rename from apply_side_effects.
+       * gimple-range-cache.h: Include gimple-range-infer.h.
+       (class ranger_cache): Adjust prototypes, use infer_range_manager.
+       * gimple-range-infer.cc: Rename from gimple-range-side-effects.cc.
+       (gimple_infer_range::*): Rename from stmt_side_effects.
+       (infer_range_manager::*): Rename from side_effect_manager.
+       * gimple-range-side-effect.cc: Rename.
+       * gimple-range-side-effect.h: Rename.
+       * gimple-range-infer.h: Rename from gimple-range-side-effects.h.
+       (class gimple_infer_range): Rename from stmt_side_effects.
+       (class infer_range_manager): Rename from side_effect_manager.
+       * gimple-range.cc (gimple_ranger::register_inferred_ranges): Rename
+       from register_side_effects.
+       * gimple-range.h (register_inferred_ranges): Adjust prototype.
+       * range-op.h: Adjust comment.
+       * tree-vrp.cc (rvrp_folder::pre_fold_bb): Use register_inferred_ranges.
+       (rvrp_folder::post_fold_bb): Use register_inferred_ranges.
+
+2022-05-25  Simon Cook  <simon.cook@embecosm.com>
+
+       * config/riscv/arch-canonicalize: Only add mafd extension if
+       base was rv32/rv64g.
+
+2022-05-25  Tobias Burnus  <tobias@codesourcery.com>
+
+       * doc/invoke.texi (AMD GCN Options): Add gfx908/gfx90a.
+
+2022-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/105714
+       * asan.cc (has_stmt_been_instrumented_p): For assignments which
+       are both stores and loads, return true only if both destination
+       and source have been instrumented.
+
+2022-05-25  Martin Liska  <mliska@suse.cz>
+           Richard Biener   <rguenther@suse.de>
+
+       * dbgcnt.def (DEBUG_COUNTER): Add loop_unswitch counter.
+       * params.opt (max-unswitch-level): Remove.
+       * doc/invoke.texi (max-unswitch-level): Likewise.
+       * tree-cfg.cc (gimple_lv_add_condition_to_bb): Support not
+       gimplified expressions.
+       * tree-ssa-loop-unswitch.cc (struct unswitch_predicate): New.
+       (tree_may_unswitch_on): Rename to ...
+       (find_unswitching_predicates_for_bb): ... this and handle
+       switch statements.
+       (get_predicates_for_bb): Likewise.
+       (set_predicates_for_bb): Likewise.
+       (init_loop_unswitch_info): Likewise.
+       (tree_ssa_unswitch_loops): Prepare stuff before calling
+       tree_unswitch_single_loop.
+       (tree_unswitch_single_loop): Rework the function using
+       pre-computed predicates and with a per original loop cost model.
+       (merge_last): New.
+       (add_predicate_to_path): Likewise.
+       (find_range_for_lhs): Likewise.
+       (simplify_using_entry_checks): Rename to ...
+       (evaluate_control_stmt_using_entry_checks): ... this, handle
+       switch statements and improve simplifications using ranger.
+       (simplify_loop_version): Rework using
+       evaluate_control_stmt_using_entry_checks.
+       (evaluate_bbs): New.
+       (evaluate_loop_insns_for_predicate): Likewise.
+       (tree_unswitch_loop): Adjust to allow switch statements and
+       pass in the edge to unswitch.
+       (clean_up_after_unswitching): New.
+       (pass_tree_unswitch::execute): Pass down fun.
+
 2022-05-24  Eugene Rozenfeld  <erozen@microsoft.com>
 
        * tree-vect-loop-manip.cc (vect_do_peeling): Save/restore profile
index a0acbbdde3344b6a8c546e2025b321c752667bd9..470a8c1787eb3b46a4cf987e69622698a08473f8 100644 (file)
@@ -1 +1 @@
-20220525
+20220526
index a886254bca1303ae42a3d89ed7eeb4e57027d371..11d5af6a0b644c260805cf2518208e8f0729a840 100644 (file)
@@ -1,3 +1,15 @@
+2022-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/91134
+       * c-tree.h (build_component_ref): Add ARROW_LOC location_t argument.
+       * c-typeck.cc (build_component_ref): Likewise.  If DATUM is
+       INDIRECT_REF and ARROW_LOC isn't UNKNOWN_LOCATION, print a different
+       diagnostic and fixit hint if DATUM has pointer type.
+       * c-parser.cc (c_parser_postfix_expression,
+       c_parser_omp_variable_list): Adjust build_component_ref callers.
+       * gimple-parser.cc (c_parser_gimple_postfix_expression_after_primary):
+       Likewise.
+
 2022-05-24  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/105378
index 42d57c2e3bdb844f2a106d38c61b37e1821f7950..b385bfecfc4d856e0e516738c1c7c801dfe0c451 100644 (file)
@@ -1,3 +1,40 @@
+2022-05-25  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/96637
+       * cp-tree.h (attr_chainon): Declare.
+       * decl.cc (start_decl): Use attr_chainon.
+       (grokdeclarator): Likewise.
+       * parser.cc (cp_parser_statement): No longer static.
+
+2022-05-25  Jason Merrill  <jason@redhat.com>
+
+       PR c++/105655
+       * pt.cc (build_template_decl): Add assert.
+       (tsubst_function_decl): Don't return a template.
+
+2022-05-25  Jason Merrill  <jason@redhat.com>
+
+       PR c++/105623
+       * decl2.cc (mark_used): Copy type from fn to BASELINK.
+       * pt.cc (unify_one_argument): Call mark_single_function.
+
+2022-05-25  Jason Merrill  <jason@redhat.com>
+
+       * constexpr.cc (cxx_eval_call_expression): Check for
+       heap vars in the result.
+
+2022-05-25  Jason Merrill  <jason@redhat.com>
+
+       * constexpr.cc (maybe_constant_init_1): Only pass false for
+       strict when initializing a variable of static duration.
+
+2022-05-25  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/100252
+       * typeck2.cc (potential_prvalue_result_of): New.
+       (replace_placeholders_for_class_temp_r): New.
+       (digest_nsdmi_init): Call it.
+
 2022-05-24  Jason Merrill  <jason@redhat.com>
 
        * constexpr.cc (cxx_fold_indirect_ref): Add default arg.
index 8b3f8c2f3fffa3793e3343555d6e6de23d733816..33a0636f1170585d962ba0a68d6f4f3c3917a7ef 100644 (file)
@@ -1,3 +1,10 @@
+2022-05-25  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * expr.cc: Add "final" and "override" to all "visit" vfunc decls
+       as appropriate.
+       * imports.cc: Likewise.
+       * typeinfo.cc: Likewise.
+
 2022-05-24  David Malcolm  <dmalcolm@redhat.com>
 
        * decl.cc: Add "final" and "override" to all "visit" vfunc decls
index ba92c4ec7c5677220658da59cb0f3eb55f0d9bf3..007558c285add9317482dfacba1d1096d92c0636 100644 (file)
@@ -1,3 +1,9 @@
+2022-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/91134
+       * objc-act.cc (objc_build_component_ref): Adjust build_component_ref
+       caller.
+
 2022-05-11  Martin Liska  <mliska@suse.cz>
 
        PR target/105355
index 493e2a9767774788213c95452e551e550ac9d672..b2e53212b20ff7b05a89fbdcf583e535d29358ce 100644 (file)
@@ -1,3 +1,74 @@
+2022-05-25  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/96637
+       * g++.dg/parse/error64.C: New test.
+
+2022-05-25  Jason Merrill  <jason@redhat.com>
+
+       PR c++/105655
+       * g++.dg/cpp2a/class-deduction-alias13.C: New test.
+
+2022-05-25  Jason Merrill  <jason@redhat.com>
+
+       PR c++/105623
+       * g++.dg/cpp1y/auto-fn62.C: New test.
+
+2022-05-25  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/cpp1y/constexpr-local4.C: New test.
+
+2022-05-25  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/100252
+       * g++.dg/cpp1y/nsdmi-aggr14.C: New test.
+       * g++.dg/cpp1y/nsdmi-aggr15.C: New test.
+       * g++.dg/cpp1y/nsdmi-aggr16.C: New test.
+       * g++.dg/cpp1y/nsdmi-aggr17.C: New test.
+       * g++.dg/cpp1y/nsdmi-aggr18.C: New test.
+       * g++.dg/cpp1y/nsdmi-aggr19.C: New test.
+
+2022-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/91134
+       * gcc.dg/pr91134.c: New test.
+
+2022-05-25  Richard Biener  <rguenther@suse.de>
+
+       * gcc.dg/loop-unswitch-10.c: Fix misspelled defaut:
+       * gcc.dg/loop-unswitch-11.c: Likewise.
+       * gcc.dg/loop-unswitch-14.c: Likewise.
+
+2022-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/105714
+       * gcc.dg/asan/pr105714.c: New test.
+
+2022-05-25  Martin Liska  <mliska@suse.cz>
+           Richard Biener   <rguenther@suse.de>
+
+       * gcc.dg/loop-unswitch-7.c: New test.
+       * gcc.dg/loop-unswitch-8.c: New test.
+       * gcc.dg/loop-unswitch-9.c: New test.
+       * gcc.dg/loop-unswitch-10.c: New test.
+       * gcc.dg/loop-unswitch-11.c: New test.
+       * gcc.dg/loop-unswitch-12.c: New test.
+       * gcc.dg/loop-unswitch-13.c: New test.
+       * gcc.dg/loop-unswitch-14.c: New test.
+       * gcc.dg/loop-unswitch-15.c: New test.
+       * gcc.dg/loop-unswitch-16.c: New test.
+       * gcc.dg/loop-unswitch-17.c: New test.
+       * gcc.dg/torture/20220518-1.c: New test.
+       * gcc.dg/torture/20220518-2.c: New test.
+       * gcc.dg/torture/20220525-1.c: New test.
+       * gcc.dg/alias-10.c: Adjust.
+       * gcc.dg/tree-ssa/loop-6.c: Likewise.
+       * gcc.dg/loop-unswitch-1.c: Likewise.
+
+2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       PR target/104689
+       * gcc.target/aarch64/pr104689.c: New test.
+
 2022-05-24  Martin Sebor  <msebor@redhat.com>
            Richard Biener  <rguenther@suse.de>
 
index cd82a1daaa3b8c8d9c88cc0a733eea8ff3755161..621cf08e0ee000eaf4f078a20c7d24721d3666ef 100644 (file)
@@ -1,3 +1,15 @@
+2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
+
+       PR libgcc/105708
+       * config/aarch64/lse-init.c: Increase constructor priority.
+
+2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       PR target/104689
+       * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
+       Handle the !REG_UNSAVED case.
+       * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
+
 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
 
        * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
index a885da7f000911216ae57d1faca0e38c7e1cc297..411dc5048e3da0eb66fa7a91aa099d2da36bf314 100644 (file)
@@ -1,3 +1,11 @@
+2022-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       * task.c (gomp_task_run_post_handle_dependers): If empty_task
+       is the last task taskwait depend depends on, wake it up.
+       Similarly if it is the last child of a taskgroup, use atomic
+       store instead of decrement and awak taskgroup wait if any.
+       * testsuite/libgomp.c-c++-common/taskwait-depend-nowait-2.c: New test.
+
 2022-05-24  Andrew Stubbs  <ams@codesourcery.com>
 
        * plugin/plugin-gcn.c (EF_AMDGPU_MACH): Add
index 5148c4358d37b2155a4fa2bd91069cd2ac186898..c00eaf140f97148493e8cdbce20607304f96e6d5 100644 (file)
@@ -1,3 +1,8 @@
+2022-05-25  Jason Merrill  <jason@redhat.com>
+
+       * testsuite/20_util/function_objects/constexpr_searcher.cc: Add
+       constexpr.
+
 2022-05-20  Jonathan Wakely  <jwakely@redhat.com>
 
        * testsuite/26_numerics/random/bernoulli_distribution/operators/values.cc: