From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 41E453858422; Fri, 19 Nov 2021 00:17:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41E453858422 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-5388] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: d6ec661e3931773e2f571ed4f6dd8b0402d8687d X-Git-Newrev: 483092d3d996c52a16519261ecf4236ab1a2d99c Message-Id: <20211119001713.41E453858422@sourceware.org> Date: Fri, 19 Nov 2021 00:17:13 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2021 00:17:13 -0000 https://gcc.gnu.org/g:483092d3d996c52a16519261ecf4236ab1a2d99c commit r12-5388-g483092d3d996c52a16519261ecf4236ab1a2d99c Author: GCC Administrator Date: Fri Nov 19 00:16:34 2021 +0000 Daily bump. Diff: --- gcc/ChangeLog | 177 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 9 +++ gcc/c/ChangeLog | 9 +++ gcc/cp/ChangeLog | 53 +++++++++++++++ gcc/d/ChangeLog | 5 ++ gcc/fortran/ChangeLog | 7 ++ gcc/lto/ChangeLog | 4 ++ gcc/testsuite/ChangeLog | 94 +++++++++++++++++++++++++ libgomp/ChangeLog | 24 +++++++ libsanitizer/ChangeLog | 7 ++ libstdc++-v3/ChangeLog | 12 ++++ 12 files changed, 402 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e5a720f071..6059931127e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,180 @@ +2021-11-18 David Edelsohn + + * config/rs6000/predicates.md (current_file_function_operand): + Add flag_semantic_interposition to call of decl_replaceable_p. + +2021-11-18 Martin Liska + + * ipa-modref.c (analyze_function): Do not execute the code + only if dump_file != NULL. + +2021-11-18 Martin Liska + + * ipa-modref.c (analyze_function): Use fnode instead of repeated + cgraph_node::get (current_function_decl). + +2021-11-18 Jan Hubicka + + * cgraph.c (cgraph_node::get_availability): Update call of + decl_replaceable_p. + (cgraph_node::verify_node): Verify that semantic_interposition flag + is set correclty. + * cgraph.h: (symtab_node): Add semantic_interposition flag. + * cgraphclones.c (set_new_clone_decl_and_node_flags): Clear + semantic_interposition flag. + * cgraphunit.c (cgraph_node::finalize_function): Set + semantic_interposition flag. + (cgraph_node::add_new_function): Likewise. + (varpool_node::finalize_decl): Likewise. + (cgraph_node::create_wrapper): Likewise. + * common.opt (fsemantic-interposition): Turn to optimization node. + * lto-cgraph.c (lto_output_node): Stream semantic_interposition. + (lto_output_varpool_node): Likewise. + (input_overwrite_node): Likewise. + (input_varpool_node): Likewise. + * symtab.c (symtab_node::dump_base): Dump new flag. + * varasm.c (decl_replaceable_p): Add semantic_interposition_p + parameter. + * varasm.h (decl_replaceable_p): Update declaration. + * varpool.c (varpool_node::ctor_useable_for_folding_p): + Use semantic_interposition flag. + (varpool_node::get_availability): Likewise. + (varpool_node::create_alias): Copy semantic_interposition flag. + +2021-11-18 Jan Hubicka + + PR ipa/103266 + * ipa-modref.c (modref_eaf_analysis::merge_call_lhs_flags): Unused + parameter may still be returned. + (modref_eaf_analysis::analyze_ssa_name): Call merge_call_lhs_flags + even for unused function args. + +2021-11-18 Tamar Christina + + PR tree-optimization/103311 + * tree-vect-slp-patterns.c (complex_mul_pattern::matches, + complex_fms_pattern::matches): Check for multiplications. + +2021-11-18 H.J. Lu + + PR target/102952 + * config/i386/i386.c (ix86_output_jmp_thunk_or_indirect): Emit + CS prefix for -mindirect-branch-cs-prefix. + (ix86_output_indirect_branch_via_reg): Likewise. + * config/i386/i386.opt: Add -mindirect-branch-cs-prefix. + * doc/invoke.texi: Document -mindirect-branch-cs-prefix. + +2021-11-18 David Edelsohn + + * config/rs6000/driver-rs6000.c (detect_processor_aix): Add + power10. + +2021-11-18 Tamar Christina + + PR tree-optimization/103253 + * tree-ssa-math-opts.c (convert_mult_to_fma): Check for LHS. + +2021-11-18 Matthias Kretz + + * doc/extend.texi: Document __builtin_assoc_barrier. + +2021-11-18 Martin Liska + + * cfgexpand.c (pass_expand::execute): Use option directly. + * function.c (allocate_struct_function): Likewise. + * gimple-low.c (lower_function_body): Likewise. + (lower_stmt): Likewise. + * gimple-ssa-backprop.c (backprop::prepare_change): Likewise. + * ipa-param-manipulation.c (ipa_param_adjustments::modify_call): Likewise. + * ipa-split.c (split_function): Likewise. + * lto-streamer-in.c (input_function): Likewise. + * sese.c (sese_insert_phis_for_liveouts): Likewise. + * ssa-iterators.h (num_imm_uses): Likewise. + * tree-cfg.c (make_blocks): Likewise. + (gimple_merge_blocks): Likewise. + * tree-inline.c (tree_function_versioning): Likewise. + * tree-loop-distribution.c (generate_loops_for_partition): Likewise. + * tree-sra.c (analyze_access_subtree): Likewise. + * tree-ssa-dce.c (remove_dead_stmt): Likewise. + * tree-ssa-loop-ivopts.c (remove_unused_ivs): Likewise. + * tree-ssa-phiopt.c (spaceship_replacement): Likewise. + * tree-ssa-reassoc.c (reassoc_remove_stmt): Likewise. + * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise. + * tree-ssa-threadedge.c (propagate_threaded_block_debug_into): Likewise. + * tree-ssa.c (gimple_replace_ssa_lhs): Likewise. + (target_for_debug_bind): Likewise. + (insert_debug_temp_for_var_def): Likewise. + (insert_debug_temps_for_defs): Likewise. + (reset_debug_uses): Likewise. + * tree-ssanames.c (release_ssa_name_fn): Likewise. + * tree-vect-loop-manip.c (adjust_vec_debug_stmts): Likewise. + (adjust_debug_stmts): Likewise. + (adjust_phi_and_debug_stmts): Likewise. + (vect_do_peeling): Likewise. + * tree-vect-loop.c (vect_transform_loop_stmt): Likewise. + (vect_transform_loop): Likewise. + * tree.h (MAY_HAVE_DEBUG_MARKER_STMTS): Remove + (MAY_HAVE_DEBUG_BIND_STMTS): Remove. + (MAY_HAVE_DEBUG_STMTS): Use options directly. + +2021-11-18 Richard Biener + + PR tree-optimization/103277 + * tree-ssa-dse.c (need_ab_cleanup): New. + (dse_optimize_redundant_stores): Adjust. + (delete_dead_or_redundant_assignment): Get extra + need_ab_cleanup argument and set when abnormal cleanup is + needed. + (dse_optimize_call): Adjust. + (dse_optimize_stmt): Likewise. + (pass_dse::execute): Allocate and deallocate need_ab_cleanup. + Perform abnormal cleanup. + * tree-ssa-dse.h (delete_dead_or_redundant_assignment): Adjust. + +2021-11-18 Hongyu Wang + + * config/i386/i386-expand.c (ix86_expand_atomic_fetch_op_loop): + Adjust generated cfg to avoid infinite loop. + +2021-11-18 konglin1 + + * config/i386/avx512fp16intrin.h (_mm512_mul_pch): Add alias for _mm512_fmul_pch. + (_mm512_mask_mul_pch): Likewise. + (_mm512_maskz_mul_pch): Likewise. + (_mm512_mul_round_pch): Likewise. + (_mm512_mask_mul_round_pch): Likewise. + (_mm512_maskz_mul_round_pch): Likewise. + (_mm512_cmul_pch): Likewise. + (_mm512_mask_cmul_pch): Likewise. + (_mm512_maskz_cmul_pch): Likewise. + (_mm512_cmul_round_pch): Likewise. + (_mm512_mask_cmul_round_pch): Likewise. + (_mm512_maskz_cmul_round_pch): Likewise. + (_mm_mul_sch): Likewise. + (_mm_mask_mul_sch): Likewise. + (_mm_maskz_mul_sch): Likewise. + (_mm_mul_round_sch): Likewise. + (_mm_mask_mul_round_sch): Likewise. + (_mm_maskz_mul_round_sch): Likewise. + (_mm_cmul_sch): Likewise. + (_mm_mask_cmul_sch): Likewise. + (_mm_maskz_cmul_sch): Likewise. + (_mm_cmul_round_sch): Likewise. + (_mm_mask_cmul_round_sch): Likewise. + (_mm_maskz_cmul_round_sch): Likewise. + * config/i386/avx512fp16vlintrin.h (_mm_mul_pch): Likewise. + (_mm_mask_mul_pch): Likewise. + (_mm_maskz_mul_pch): Likewise. + (_mm256_mul_pch): Likewise. + (_mm256_mask_mul_pch): Likewise. + (_mm256_maskz_mul_pch): Likewise. + (_mm_cmul_pch): Likewise. + (_mm_mask_cmul_pch): Likewise. + (_mm_maskz_cmul_pch): Likewise. + (_mm256_cmul_pch): Likewise. + (_mm256_mask_cmul_pch): Likewise. + (_mm256_maskz_cmul_pch): Likewise. + 2021-11-17 Andrew Pinski PR tree-optimization/103228 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 15171a25738..f09aab359f4 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20211118 +20211119 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 21f153e87e6..1c54782f630 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,12 @@ +2021-11-18 Matthias Kretz + + * c-common.c (c_common_reswords): Add __builtin_assoc_barrier. + * c-common.h (enum rid): Add RID_BUILTIN_ASSOC_BARRIER. + +2021-11-18 Martin Liska + + * c-gimplify.c (genericize_c_loop): Use option directly. + 2021-11-17 Martin Uecker PR c/91038 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 8dcd6be5fb5..2728c59918e 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,12 @@ +2021-11-18 Matthias Kretz + + * c-decl.c (names_builtin_p): Handle RID_BUILTIN_ASSOC_BARRIER. + * c-parser.c (c_parser_postfix_expression): Likewise. + +2021-11-18 Martin Liska + + * c-parser.c (add_debug_begin_stmt): Use option directly. + 2021-11-17 Martin Sebor PR c/101702 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ac52e3b4a69..f07ae26403c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,56 @@ +2021-11-18 Marek Polacek + + PR c++/103049 + * semantics.c (finish_compound_literal): Accept C++23 auto{x}. + * typeck2.c (build_functional_cast_1): Accept C++23 auto(x). + +2021-11-18 Patrick Palka + + * pt.c (tsubst_copy_and_build) : Disable the + -fpermissive fallback for C++20 template-id ADL, but keep the + diagnostic. + +2021-11-18 Jan Hubicka + + * decl.c (finish_function): Update use of decl_replaceable_p. + +2021-11-18 Patrick Palka + + PR c++/99911 + * pt.c (tsubst_copy_and_build) : Don't diagnose + name lookup failure if the arguments to an unresolved template + name are still dependent. + +2021-11-18 Patrick Palka + + PR c++/102670 + * pt.c (tsubst_copy_and_build) : When looking + for an identifier callee in the koenig_p case, also look through + TEMPLATE_ID_EXPR. Use tsubst_copy to substitute through the + template arguments of the template-id. + +2021-11-18 Matthias Kretz + + * constexpr.c (cxx_eval_constant_expression): Handle PAREN_EXPR + via cxx_eval_constant_expression. + * cp-objcp-common.c (names_builtin_p): Handle + RID_BUILTIN_ASSOC_BARRIER. + * cp-tree.h: Adjust TREE_LANG_FLAG documentation to include + PAREN_EXPR in REF_PARENTHESIZED_P. + (REF_PARENTHESIZED_P): Add PAREN_EXPR. + * parser.c (cp_parser_postfix_expression): Handle + RID_BUILTIN_ASSOC_BARRIER. + * pt.c (tsubst_copy_and_build): If the PAREN_EXPR is not a + parenthesized initializer, build a new PAREN_EXPR. + * semantics.c (force_paren_expr): Simplify conditionals. Set + REF_PARENTHESIZED_P on PAREN_EXPR. + (maybe_undo_parenthesized_ref): Test PAREN_EXPR for + REF_PARENTHESIZED_P. + +2021-11-18 Martin Liska + + * parser.c (add_debug_begin_stmt): Use option directly. + 2021-11-16 Jason Merrill * ptree.c (cxx_print_xnode): Handle PTRMEM_CST. diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index b752dd9cee2..d04102a2b98 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,8 @@ +2021-11-18 Iain Buclaw + + * decl.cc (d_finish_decl): Use HOST_WIDE_INT for type size + temporaries. + 2021-10-22 Eric Gallager PR other/102663 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f5abad99572..de5d4de6fd9 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2021-11-18 Harald Anlauf + Steven G. Kargl + + PR fortran/101329 + * check.c (is_c_interoperable): Reject NULL() as it is not + interoperable. + 2021-11-16 Harald Anlauf PR fortran/103286 diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 38350b36ee8..580a631bc1c 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2021-11-18 Jan Hubicka + + * lto-partition.c (promote_symbol): Clear semantic_interposition flag. + 2021-11-06 Jan Hubicka PR ipa/103070 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 594cc2c66c5..18340f6db9c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,97 @@ +2021-11-18 Marek Polacek + + PR c++/103049 + * g++.dg/cpp0x/auto25.C: Adjust dg-error. + * g++.dg/cpp0x/auto9.C: Likewise. + * g++.dg/cpp2a/concepts-pr84979-2.C: Likewise. + * g++.dg/cpp2a/concepts-pr84979-3.C: Likewise. + * g++.dg/cpp23/auto-fncast1.C: New test. + * g++.dg/cpp23/auto-fncast2.C: New test. + * g++.dg/cpp23/auto-fncast3.C: New test. + * g++.dg/cpp23/auto-fncast4.C: New test. + * g++.dg/cpp23/auto-fncast5.C: New test. + * g++.dg/cpp23/auto-fncast6.C: New test. + +2021-11-18 Harald Anlauf + Steven G. Kargl + + PR fortran/101329 + * gfortran.dg/pr101329.f90: New test. + +2021-11-18 Patrick Palka + + * g++.dg/cpp2a/fn-template25.C: New test. + +2021-11-18 Jan Hubicka + + * gcc.dg/lto/semantic-interposition-1_0.c: New test. + * gcc.dg/lto/semantic-interposition-1_1.c: New test. + +2021-11-18 Jan Hubicka + + PR ipa/103266 + * g++.dg/torture/pr103266.C: New test. + +2021-11-18 Tamar Christina + + PR tree-optimization/103311 + * gcc.target/aarch64/pr103311.c: New test. + +2021-11-18 H.J. Lu + + PR target/102952 + * gcc.target/i386/indirect-thunk-cs-prefix-1.c: New test. + * gcc.target/i386/indirect-thunk-cs-prefix-2.c: Likewise. + +2021-11-18 Jeff Law + + * gcc.target/mips/octeon-bbit-1.c (f3): Add noipa attribute. + +2021-11-18 Patrick Palka + + PR c++/99911 + * g++.dg/cpp2a/fn-template24.C: New test. + +2021-11-18 Patrick Palka + + PR c++/102670 + * g++.dg/cpp2a/concepts-recursive-sat1.C: Adjust to use ADL + proper. + * g++.dg/cpp2a/fn-template23.C: New test. + +2021-11-18 Tamar Christina + + PR tree-optimization/103253 + * gcc.dg/vect/pr103253.c: New test. + +2021-11-18 Matthias Kretz + + * c-c++-common/builtin-assoc-barrier-1.c: New test. + +2021-11-18 Richard Biener + + PR testsuite/103278 + * gcc.dg/tree-ssa/if-to-switch-3.c: Supply + --param case-values-threshold=4. + +2021-11-18 Richard Biener + + PR tree-optimization/103277 + * gcc.dg/pr103277.c: New testcase. + +2021-11-18 Hongyu Wang + + * gcc.target/i386/pr103069-2.c: Adjust. + +2021-11-18 konglin1 + + * gcc.target/i386/avx512fp16-vfcmulcph-1a.c: Add new test for alias. + * gcc.target/i386/avx512fp16-vfcmulcsh-1a.c: Likewise. + * gcc.target/i386/avx512fp16-vfmulcph-1a.c: Likewise. + * gcc.target/i386/avx512fp16-vfmulcsh-1a.c: Likewise. + * gcc.target/i386/avx512fp16vl-vfcmulcph-1a.c: Likewise. + * gcc.target/i386/avx512fp16vl-vfmulcph-1a.c: Likewise. + 2021-11-17 Andrew Pinski PR tree-optimization/103228 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index b3b7ec56932..b5bacda4176 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,27 @@ +2021-11-18 David Edelsohn + + * alloc.c (gomp_aligned_alloc): Fix typo. + +2021-11-18 Jakub Jelinek + + PR libgomp/102838 + * libgomp.h (GOMP_USE_ALIGNED_WORK_SHARES): Define if + GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC is defined and __AMDGCN__ is not. + (struct gomp_work_share): Use GOMP_USE_ALIGNED_WORK_SHARES instead of + GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC. + * work.c (alloc_work_share, gomp_work_share_start): Likewise. + * team.c (gomp_new_team): If GOMP_USE_ALIGNED_WORK_SHARES, use + gomp_aligned_alloc instead of team_malloc. + +2021-11-18 Jakub Jelinek + + PR libgomp/102838 + * alloc.c (gomp_aligned_alloc): Prefer _aligned_alloc over + memalign over posix_memalign over aligned_alloc over fallback + with malloc instead of aligned_alloc over _aligned_alloc over + posix_memalign over memalign over fallback with malloc. For + aligned_alloc, round up size up to multiple of al. + 2021-11-16 Jakub Jelinek * libgomp.texi (OpenMP 5.1): Mark thread_limit clause to target diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 495245d9d04..67bd3fd94fd 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,10 @@ +2021-11-18 Jakub Jelinek + + PR bootstrap/102675 + * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS + of sanitizer_platform_limits_freebsd.cpp. + * sanitizer_common/Makefile.in: Regenerated. + 2021-11-13 H.J. Lu * LOCAL_PATCHES: Update to the corresponding revision. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 575e1d26200..e414be086fe 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,15 @@ +2021-11-18 Jonathan Wakely + + * include/bits/char_traits.h (__gnu_cxx::char_traits::move): + Do not compare unrelated pointers during constant evaluation. + * testsuite/21_strings/char_traits/requirements/constexpr_functions_c++20.cc: + Improve tests for char_traits::move. + +2021-11-18 Jonathan Wakely + + * acinclude.m4: Replace AC_CACHE_VAL with AC_CACHE_CHECK. + * configure: Regenerate. + 2021-11-17 Jonathan Wakely * include/experimental/internet (address): Use std::_Construct