]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 24 Nov 2021 00:16:29 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 24 Nov 2021 00:16:29 +0000 (00:16 +0000)
contrib/ChangeLog
fixincludes/ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libcpp/ChangeLog
libstdc++-v3/ChangeLog

index e4b9ad0a179ced0c10ac8e8635cb2f58a5846533..1886061844eeed7dae8a53c732636b7f8dfbe5f7 100644 (file)
@@ -1,3 +1,13 @@
+2021-11-23  Martin Liska  <mliska@suse.cz>
+
+       * filter-clang-warnings.py: Filter -Wc++20-extensions as it does
+       not respect proper attribute detection.
+
+2021-11-23  Martin Liska  <mliska@suse.cz>
+
+       * check-params-in-docs.py: Support @itemx in param documentation
+       and support multi-line documentation for parameters.
+
 2021-11-08  Thomas Schwinge  <thomas@codesourcery.com>
 
        * update-copyright.py (class BadYear): Derive from 'Exception'.
index dfc6ee7276b1ff912725ece333761ddc35d6bfd1..10459dffcd7500479546f02cbbd0807e7c733b7f 100644 (file)
@@ -1,3 +1,8 @@
+2021-11-23  Xi Ruoyao  <xry111@mengyan1223.wang>
+
+       PR bootstrap/103306
+       * fixincl.c (process): Don't call abort().
+
 2021-11-13  Xi Ruoyao  <xry111@mengyan1223.wang>
 
        PR other/21823
index b70adbd8cb7d2fc5cef9b2c2bd1330fc5171d5e5..0a9e75cece1506988ec3f69d05b71806b8a16fde 100644 (file)
@@ -1,3 +1,141 @@
+2021-11-23  Martin Sebor  <msebor@redhat.com>
+
+       PR middle-end/88232
+       * Makefile.in (OBJS): Add gimple-warn-recursion.o.
+       * common.opt: Add -Winfinite-recursion.
+       * doc/invoke.texi (-Winfinite-recursion): Document.
+       * passes.def (pass_warn_recursion): Schedule a new pass.
+       * tree-pass.h (make_pass_warn_recursion): Declare.
+       * gimple-warn-recursion.c: New file.
+
+2021-11-23  Bill Schmidt  <wschmidt@linux.ibm.com>
+
+       * config/rs6000/rs6000-call.c (rs6000_invalid_new_builtin): Change
+       error messages for ENB_P8V and ENB_P9V.
+
+2021-11-23  Bill Schmidt  <wschmidt@linux.ibm.com>
+
+       * config/rs6000/rs6000-builtin-new.def: Add power6-64 stanza.  Move
+       CMPB to power6-64 stanza.
+       * config/rs6000/rs6000-call.c (rs6000_invalid_new_builtin): Handle
+       ENB_P6_64 case.
+       (rs6000_new_builtin_is_supported): Likewise.
+       (rs6000_expand_new_builtin): Likewise.  Clean up formatting.
+       (rs6000_init_builtins): Handle ENB_P6_64 case.
+       * config/rs6000/rs6000-gen-builtins.c (bif_stanza): Add BSTZ_P6_64.
+       (stanza_map): Add entry mapping power6-64 to BSTZ_P6_64.
+       (enable_string): Add "ENB_P6_64".
+       (write_decls): Add ENB_P6_64 to bif_enable enum.
+
+2021-11-23  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-modref-tree.h (struct modref_tree): Remove max_bases, max_refs
+       and max_accesses.
+       (modref_tree::modref_tree): Remove parametr.
+       (modref_tree::insert_base): Add max_bases parameter.
+       (modref_tree::insert): Add max_bases, max_refs, max_accesses
+       parameters.
+       (modref_tree::insert): New member function.
+       (modref_tree::merge): Add max_bases, max_refs, max_accesses
+       parameters.
+       (modref_tree::insert): New member function.
+       * ipa-modref-tree.c (test_insert_search_collapse): Update.
+       (test_merge): Update.
+       * ipa-modref.c (dump_records): Don't dump max_refs and max_bases.
+       (dump_lto_records): Likewise.
+       (modref_summary::finalize): Fix whitespace.
+       (get_modref_function_summary): Likewise.
+       (modref_access_analysis::record_access): Update.
+       (modref_access_analysis::record_access_lto): Update.
+       (modref_access_analysis::process_fnspec): Update.
+       (analyze_function): Update.
+       (modref_summaries::duplicate): Update.
+       (modref_summaries_lto::duplicate): Update.
+       (write_modref_records): Update.
+       (read_modref_records): Update.
+       (read_section): Update.
+       (propagate_unknown_call): Update.
+       (modref_propagate_in_scc): Update.
+       (ipa_merge_modref_summary_after_inlining): Update.
+
+2021-11-23  Martin Liska  <mliska@suse.cz>
+
+       * doc/invoke.texi: Remove 2 more duplicite param descriptions.
+
+2021-11-23  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/103361
+       * gimple-loop-jam.c (adjust_unroll_factor): Use lambda_int
+       for the dependence distance.
+       * tree-data-ref.c (print_lambda_vector): Properly print a lambda_int.
+
+2021-11-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree-inline.h (struct copy_body_data): Remove
+       transform_lang_insert_block member.
+       * tree-inline.c (remap_block): Don't call
+       id->transform_lang_insert_block.
+       (optimize_inline_calls, copy_gimple_seq_and_replace_locals,
+       tree_function_versioning, maybe_inline_call_in_expr,
+       copy_fn): Don't initialize id.transform_lang_insert_block.
+       * gimplify.c (gimplify_omp_loop): Likewise.
+
+2021-11-23  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR tree-optimization/103335
+       * tree-ssa-dse.c (valid_ao_ref_for_dse): Rename to ...
+       (valid_ao_ref_kill_for_dse): ... this; do not check that boundaries
+       are divisible by BITS_PER_UNIT.
+       (get_byte_aligned_range_containing_ref): New function.
+       (get_byte_aligned_range_contained_in_ref): New function.
+       (normalize_ref): Rename to ...
+       (get_byte_range): ... this one; handle accesses not aligned to byte
+       boundary; return range in bytes rater than updating ao_ref.
+       (clear_live_bytes_for_ref): Take write ref by reference; simplify using
+       get_byte_access.
+       (setup_live_bytes_from_ref): Likewise.
+       (clear_bytes_written_by): Update.
+       (live_bytes_read): Update.
+       (dse_classify_store): Simplify tech before live_bytes_read checks.
+
+2021-11-23  Andrew Pinski  <apinski@marvell.com>
+
+       PR tree-optimization/102216
+       * gimple-fold.c (fold_stmt_1): Add canonicalization
+       of "&MEM[ssa_n, CST]" to "ssa_n p+ CST", note this
+       can only be done if !in_place.
+
+2021-11-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/102431
+       * gimplify.c (replace_reduction_placeholders): Remove.
+       (note_no_context_vars): New function.
+       (gimplify_omp_loop): For OMP_PARALLEL's BIND_EXPR create a new
+       BLOCK.  Use copy_tree_body_r with walk_tree instead of unshare_expr
+       and replace_reduction_placeholders for duplication of
+       OMP_CLAUSE_REDUCTION_{INIT,MERGE} expressions.  Ensure all mentioned
+       automatic vars have DECL_CONTEXT set to non-NULL before doing so
+       and reset it afterwards for those vars and their corresponding
+       vars.
+
+2021-11-23  Haochen Gui  <guihaoc@gcc.gnu.org>
+
+       PR target/100868
+       * config/rs6000/altivec.md (altivec_vreve<mode>2 for VEC_K): Use
+       xxbrq for v16qi, xxbrq + xxbrh for v8hi and xxbrq + xxbrw for v4si
+       or v4sf when p9_vector is set.
+       (altivec_vreve<mode>2 for VEC_64): Defined. Implemented by xxswapd.
+
+2021-11-23  Navid Rahimi  <navidrahimi@microsoft.com>
+
+       PR tree-optimization/102232
+       * match.pd (x * (1 + y / x) - y) -> (x - y % x): New optimization.
+
+2021-11-23  Navid Rahimi  <navidrahimi@microsoft.com>
+
+       PR tree-optimization/96779
+       * match.pd (-x == x) -> (x == 0): New optimization.
+
 2021-11-22  Roger Sayle  <roger@nextmovesoftware.com>
 
        PR tree-optimization/98953
index e45f2d04f4ec66424e58bcf58f18f6a706fd24d5..6a898735f7eafaf82ed6b02541ef09d9ac91734f 100644 (file)
@@ -1 +1 @@
-20211123
+20211124
index 2e0b81dd5e93dcd1b567c1ebc28a7b1b1f20e127..9cbba19fbd81e7b196a8f828818b1c8d48b29668 100644 (file)
@@ -1,3 +1,8 @@
+2021-11-23  Martin Sebor  <msebor@redhat.com>
+
+       PR middle-end/88232
+       * c.opt: Add -Winfinite-recursion.
+
 2021-11-19  Martin Sebor  <msebor@redhat.com>
 
        PR c++/33925
index d42244da554d2c2bf6d2feb066f84624cfae89cb..42e918ad518c50de7c88801dcf413a29c69e6045 100644 (file)
@@ -1,3 +1,8 @@
+2021-11-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-typeck.c (c_clone_omp_udr): Don't initialize
+       id.transform_lang_insert_block.
+
 2021-11-19  Martin Sebor  <msebor@redhat.com>
 
        PR c++/33925
index 836ab867fa4c0f78c1e580ee5e54a5c811be5cc5..79cb9f9a7cf607de314cd557f7a77f31fa14d92f 100644 (file)
@@ -1,3 +1,20 @@
+2021-11-23  Martin Sebor  <msebor@redhat.com>
+
+       PR c++/96507
+       * typeck.c (warn_for_null_address): Handle reference members.
+
+2021-11-23  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/19808
+       * init.c (emit_mem_initializers): Don't add is_really_empty_class
+       members into uninitialized.
+
+2021-11-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * semantics.c (clone_omp_udr): Don't initialize
+       id.transform_lang_insert_block.
+       * optimize.c (clone_body): Likewise.
+
 2021-11-22  Jason Merrill  <jason@redhat.com>
 
        * typeck.c (build_x_unary_op): Set address location.
index f3c885cfec802967b97adcac86abd80c6337d3d1..ab6584c4af2d36573dfab202738aeef62b21dc76 100644 (file)
@@ -1,3 +1,17 @@
+2021-11-23  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/103392
+       * simplify.c (simplify_bound): Do not try to simplify
+       LBOUND/UBOUND for arrays with POINTER or ALLOCATABLE attribute.
+
+2021-11-23  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/87711
+       PR fortran/87851
+       * trans-array.c (arg_evaluated_for_scalarization): Add LEN_TRIM to
+       list of intrinsics for which an optional KIND argument needs to be
+       removed before scalarization.
+
 2021-11-21  Jakub Jelinek  <jakub@redhat.com>
 
        PR debug/103315
index cdf542eb40d7ddea52b2aac486f2a38853563ea7..deca255b77eed2ccfee192e757d71003b12d6bb2 100644 (file)
@@ -1,3 +1,88 @@
+2021-11-23  Martin Sebor  <msebor@redhat.com>
+
+       PR c++/96507
+       * g++.dg/warn/Waddress-8.C: New test.
+
+2021-11-23  Martin Sebor  <msebor@redhat.com>
+
+       PR middle-end/88232
+       * c-c++-common/attr-used-5.c: Suppress valid warning.
+       * c-c++-common/attr-used-6.c: Same.
+       * c-c++-common/attr-used-9.c: Same.
+       * g++.dg/warn/Winfinite-recursion-2.C: New test.
+       * g++.dg/warn/Winfinite-recursion-3.C: New test.
+       * g++.dg/warn/Winfinite-recursion.C: New test.
+       * gcc.dg/Winfinite-recursion-2.c: New test.
+       * gcc.dg/Winfinite-recursion.c: New test.
+
+2021-11-23  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/103392
+       * gfortran.dg/bound_simplification_7.f90: New test.
+
+2021-11-23  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/19808
+       * g++.dg/warn/Wuninitialized-28.C: Make a class nonempty.
+       * g++.dg/warn/Wuninitialized-29.C: Likewise.
+       * g++.dg/warn/Wuninitialized-31.C: New test.
+
+2021-11-23  Marek Polacek  <polacek@redhat.com>
+
+       * g++.dg/warn/Waddress-5.C: Make sf static.
+
+2021-11-23  Bill Schmidt  <wschmidt@linux.ibm.com>
+
+       * gcc.target/powerpc/test_mffsl.c: Change effective target to
+       a run-time check.  Fix a typo in a debug print statement.
+
+2021-11-23  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/87711
+       PR fortran/87851
+       * gfortran.dg/len_trim.f90: New test.
+
+2021-11-23  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/103361
+       * g++.dg/torture/pr103361.C: New testcase.
+
+2021-11-23  Jan Hubicka  <hubicka@ucw.cz>
+
+       * gcc.dg/tree-ssa/modref-dse-4.c: Update template.
+       * gcc.dg/tree-ssa/modref-dse-5.c: Update template.
+
+2021-11-23  Andrew Pinski  <apinski@marvell.com>
+
+       PR tree-optimization/102216
+       * g++.dg/tree-ssa/pr102216-1.C: New test.
+       * g++.dg/tree-ssa/pr102216-2.C: New test.
+
+2021-11-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/102431
+       * c-c++-common/gomp/pr102431.c: New test.
+       * g++.dg/gomp/pr102431.C: New test.
+       * gfortran.dg/gomp/pr102431.f90: New test.
+
+2021-11-23  Haochen Gui  <guihaoc@gcc.gnu.org>
+
+       PR target/100868
+       * gcc.target/powerpc/vec_reve_1.c: New test.
+       * gcc.target/powerpc/vec_reve_2.c: Likewise.
+
+2021-11-23  Navid Rahimi  <navidrahimi@microsoft.com>
+
+       PR tree-optimization/102232
+       * gcc.dg/tree-ssa/pr102232.c: Testcase for this optimization.
+
+2021-11-23  Navid Rahimi  <navidrahimi@microsoft.com>
+
+       PR tree-optimization/96779
+       * gcc.dg/tree-ssa/pr96779.c: Testcase for this optimization.
+       * gcc.dg/tree-ssa/pr96779-disabled.c: Testcase for this optimization
+       when -fwrapv passed.
+
 2021-11-22  Jason Merrill  <jason@redhat.com>
 
        * g++.dg/template/crash106.C: Adjust.
index 7ca41e99bf49c73807a9ef1f0b2de78743c5c04f..8d436553f771885df4b77b013255096824b7d868 100644 (file)
@@ -1,3 +1,15 @@
+2021-11-23  Christophe Lyon  <christophe.lyon@foss.st.com>
+
+       PR preprocessor/103355
+       * system.h (ATTR_LIKELY): Fix definition.
+
+2021-11-23  Marek Polacek  <polacek@redhat.com>
+           Jonathan Wakely  <jwakely@redhat.com>
+
+       PR preprocessor/103355
+       * lex.c: Use ATTR_LIKELY instead of [[likely]].
+       * system.h (ATTR_LIKELY): Define.
+
 2021-11-22  Jakub Jelinek  <jakub@redhat.com>
            Tobias Burnus  <tobias@codesourcery.com>
 
index e6282b3bcd7cb84b71cb00adc0837c0fb329702a..24dc9af87ce7859c825bedbec5f5d4011db8952b 100644 (file)
@@ -1,3 +1,29 @@
+2021-11-23  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/103086
+       * testsuite/libstdc++-prettyprinters/cxx11.cc: Check unique_ptr
+       with non-empty pointer and non-empty deleter.
+
+2021-11-23  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/18_support/50594.cc: Check effective target.
+       * testsuite/20_util/allocator/1.cc: Likewise.
+       * testsuite/20_util/allocator/overaligned.cc: Likewise.
+       * testsuite/23_containers/unordered_map/96088.cc: Likewise.
+       * testsuite/23_containers/unordered_multimap/96088.cc: Likewise.
+       * testsuite/23_containers/unordered_multiset/96088.cc: Likewise.
+       * testsuite/23_containers/unordered_set/96088.cc: Likewise.
+       * testsuite/ext/throw_allocator/check_delete.cc: Likewise.
+       * testsuite/ext/throw_allocator/check_new.cc: Likewise.
+       * testsuite/lib/libstdc++.exp (check_effective_target_std_allocator_new):
+       Define new proc.
+
+2021-11-23  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/103381
+       * include/ext/bitmap_allocator.h: Include <bits/stl_function.h>
+       instead of <functional>.
+
 2021-11-22  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/bits/c++config (_GLIBCXX14_DEPRECATED): Fix condition