From e1d4359264585acc8210ba60abb6dfb15bf1fa57 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Wed, 24 Nov 2021 00:16:29 +0000 Subject: [PATCH] Daily bump. --- contrib/ChangeLog | 10 ++++ fixincludes/ChangeLog | 5 ++ gcc/ChangeLog | 138 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 5 ++ gcc/c/ChangeLog | 5 ++ gcc/cp/ChangeLog | 17 ++++++ gcc/fortran/ChangeLog | 14 +++++ gcc/testsuite/ChangeLog | 85 +++++++++++++++++++++++++++++ libcpp/ChangeLog | 12 +++++ libstdc++-v3/ChangeLog | 26 +++++++++ 11 files changed, 318 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index e4b9ad0a179..1886061844e 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,13 @@ +2021-11-23 Martin Liska + + * filter-clang-warnings.py: Filter -Wc++20-extensions as it does + not respect proper attribute detection. + +2021-11-23 Martin Liska + + * check-params-in-docs.py: Support @itemx in param documentation + and support multi-line documentation for parameters. + 2021-11-08 Thomas Schwinge * update-copyright.py (class BadYear): Derive from 'Exception'. diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index dfc6ee7276b..10459dffcd7 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,8 @@ +2021-11-23 Xi Ruoyao + + PR bootstrap/103306 + * fixincl.c (process): Don't call abort(). + 2021-11-13 Xi Ruoyao PR other/21823 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b70adbd8cb7..0a9e75cece1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,141 @@ +2021-11-23 Martin Sebor + + 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 + + * config/rs6000/rs6000-call.c (rs6000_invalid_new_builtin): Change + error messages for ENB_P8V and ENB_P9V. + +2021-11-23 Bill Schmidt + + * 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 + + * 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 + + * doc/invoke.texi: Remove 2 more duplicite param descriptions. + +2021-11-23 Richard Biener + + 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 + + * 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 + + 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 + + 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 + + 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 + + PR target/100868 + * config/rs6000/altivec.md (altivec_vreve2 for VEC_K): Use + xxbrq for v16qi, xxbrq + xxbrh for v8hi and xxbrq + xxbrw for v4si + or v4sf when p9_vector is set. + (altivec_vreve2 for VEC_64): Defined. Implemented by xxswapd. + +2021-11-23 Navid Rahimi + + PR tree-optimization/102232 + * match.pd (x * (1 + y / x) - y) -> (x - y % x): New optimization. + +2021-11-23 Navid Rahimi + + PR tree-optimization/96779 + * match.pd (-x == x) -> (x == 0): New optimization. + 2021-11-22 Roger Sayle PR tree-optimization/98953 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index e45f2d04f4e..6a898735f7e 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20211123 +20211124 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 2e0b81dd5e9..9cbba19fbd8 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2021-11-23 Martin Sebor + + PR middle-end/88232 + * c.opt: Add -Winfinite-recursion. + 2021-11-19 Martin Sebor PR c++/33925 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index d42244da554..42e918ad518 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2021-11-23 Jakub Jelinek + + * c-typeck.c (c_clone_omp_udr): Don't initialize + id.transform_lang_insert_block. + 2021-11-19 Martin Sebor PR c++/33925 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 836ab867fa4..79cb9f9a7cf 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,20 @@ +2021-11-23 Martin Sebor + + PR c++/96507 + * typeck.c (warn_for_null_address): Handle reference members. + +2021-11-23 Marek Polacek + + PR c++/19808 + * init.c (emit_mem_initializers): Don't add is_really_empty_class + members into uninitialized. + +2021-11-23 Jakub Jelinek + + * semantics.c (clone_omp_udr): Don't initialize + id.transform_lang_insert_block. + * optimize.c (clone_body): Likewise. + 2021-11-22 Jason Merrill * typeck.c (build_x_unary_op): Set address location. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f3c885cfec8..ab6584c4af2 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,17 @@ +2021-11-23 Harald Anlauf + + 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 + + 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 PR debug/103315 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cdf542eb40d..deca255b77e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,88 @@ +2021-11-23 Martin Sebor + + PR c++/96507 + * g++.dg/warn/Waddress-8.C: New test. + +2021-11-23 Martin Sebor + + 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 + + PR fortran/103392 + * gfortran.dg/bound_simplification_7.f90: New test. + +2021-11-23 Marek Polacek + + 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 + + * g++.dg/warn/Waddress-5.C: Make sf static. + +2021-11-23 Bill Schmidt + + * 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 + + PR fortran/87711 + PR fortran/87851 + * gfortran.dg/len_trim.f90: New test. + +2021-11-23 Richard Biener + + PR tree-optimization/103361 + * g++.dg/torture/pr103361.C: New testcase. + +2021-11-23 Jan Hubicka + + * 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 + + 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 + + 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 + + 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 + + PR tree-optimization/102232 + * gcc.dg/tree-ssa/pr102232.c: Testcase for this optimization. + +2021-11-23 Navid Rahimi + + 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 * g++.dg/template/crash106.C: Adjust. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 7ca41e99bf4..8d436553f77 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,15 @@ +2021-11-23 Christophe Lyon + + PR preprocessor/103355 + * system.h (ATTR_LIKELY): Fix definition. + +2021-11-23 Marek Polacek + Jonathan Wakely + + PR preprocessor/103355 + * lex.c: Use ATTR_LIKELY instead of [[likely]]. + * system.h (ATTR_LIKELY): Define. + 2021-11-22 Jakub Jelinek Tobias Burnus diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e6282b3bcd7..24dc9af87ce 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,29 @@ +2021-11-23 Jonathan Wakely + + PR libstdc++/103086 + * testsuite/libstdc++-prettyprinters/cxx11.cc: Check unique_ptr + with non-empty pointer and non-empty deleter. + +2021-11-23 Jonathan Wakely + + * 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 + + PR libstdc++/103381 + * include/ext/bitmap_allocator.h: Include + instead of . + 2021-11-22 Jonathan Wakely * include/bits/c++config (_GLIBCXX14_DEPRECATED): Fix condition -- 2.11.4.GIT