+2021-11-18 David Edelsohn <dje.gcc@gmail.com>
+
+ * config/rs6000/predicates.md (current_file_function_operand):
+ Add flag_semantic_interposition to call of decl_replaceable_p.
+
+2021-11-18 Martin Liska <mliska@suse.cz>
+
+ * ipa-modref.c (analyze_function): Do not execute the code
+ only if dump_file != NULL.
+
+2021-11-18 Martin Liska <mliska@suse.cz>
+
+ * ipa-modref.c (analyze_function): Use fnode instead of repeated
+ cgraph_node::get (current_function_decl).
+
+2021-11-18 Jan Hubicka <hubicka@ucw.cz>
+
+ * 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 <hubicka@ucw.cz>
+
+ 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 <tamar.christina@arm.com>
+
+ 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 <hjl.tools@gmail.com>
+
+ 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 <dje.gcc@gmail.com>
+
+ * config/rs6000/driver-rs6000.c (detect_processor_aix): Add
+ power10.
+
+2021-11-18 Tamar Christina <tamar.christina@arm.com>
+
+ PR tree-optimization/103253
+ * tree-ssa-math-opts.c (convert_mult_to_fma): Check for LHS.
+
+2021-11-18 Matthias Kretz <m.kretz@gsi.de>
+
+ * doc/extend.texi: Document __builtin_assoc_barrier.
+
+2021-11-18 Martin Liska <mliska@suse.cz>
+
+ * 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 <rguenther@suse.de>
+
+ 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 <hongyu.wang@intel.com>
+
+ * config/i386/i386-expand.c (ix86_expand_atomic_fetch_op_loop):
+ Adjust generated cfg to avoid infinite loop.
+
+2021-11-18 konglin1 <lingling.kong@intel.com>
+
+ * 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 <apinski@marvell.com>
PR tree-optimization/103228
+2021-11-18 Matthias Kretz <m.kretz@gsi.de>
+
+ * 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 <mliska@suse.cz>
+
+ * c-gimplify.c (genericize_c_loop): Use option directly.
+
2021-11-17 Martin Uecker <uecker@gcc.gnu.org>
PR c/91038
+2021-11-18 Matthias Kretz <m.kretz@gsi.de>
+
+ * c-decl.c (names_builtin_p): Handle RID_BUILTIN_ASSOC_BARRIER.
+ * c-parser.c (c_parser_postfix_expression): Likewise.
+
+2021-11-18 Martin Liska <mliska@suse.cz>
+
+ * c-parser.c (add_debug_begin_stmt): Use option directly.
+
2021-11-17 Martin Sebor <msebor@redhat.com>
PR c/101702
+2021-11-18 Marek Polacek <polacek@redhat.com>
+
+ 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 <ppalka@redhat.com>
+
+ * pt.c (tsubst_copy_and_build) <case CALL_EXPR>: Disable the
+ -fpermissive fallback for C++20 template-id ADL, but keep the
+ diagnostic.
+
+2021-11-18 Jan Hubicka <hubicka@ucw.cz>
+
+ * decl.c (finish_function): Update use of decl_replaceable_p.
+
+2021-11-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/99911
+ * pt.c (tsubst_copy_and_build) <case CALL_EXPR>: Don't diagnose
+ name lookup failure if the arguments to an unresolved template
+ name are still dependent.
+
+2021-11-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/102670
+ * pt.c (tsubst_copy_and_build) <case CALL_EXPR>: 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 <m.kretz@gsi.de>
+
+ * 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 <mliska@suse.cz>
+
+ * parser.c (add_debug_begin_stmt): Use option directly.
+
2021-11-16 Jason Merrill <jason@redhat.com>
* ptree.c (cxx_print_xnode): Handle PTRMEM_CST.
+2021-11-18 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * decl.cc (d_finish_decl): Use HOST_WIDE_INT for type size
+ temporaries.
+
2021-10-22 Eric Gallager <egallager@gcc.gnu.org>
PR other/102663
+2021-11-18 Harald Anlauf <anlauf@gmx.de>
+ Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/101329
+ * check.c (is_c_interoperable): Reject NULL() as it is not
+ interoperable.
+
2021-11-16 Harald Anlauf <anlauf@gmx.de>
PR fortran/103286
+2021-11-18 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-partition.c (promote_symbol): Clear semantic_interposition flag.
+
2021-11-06 Jan Hubicka <hubicka@ucw.cz>
PR ipa/103070
+2021-11-18 Marek Polacek <polacek@redhat.com>
+
+ 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 <anlauf@gmx.de>
+ Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/101329
+ * gfortran.dg/pr101329.f90: New test.
+
+2021-11-18 Patrick Palka <ppalka@redhat.com>
+
+ * g++.dg/cpp2a/fn-template25.C: New test.
+
+2021-11-18 Jan Hubicka <hubicka@ucw.cz>
+
+ * 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 <hubicka@ucw.cz>
+
+ PR ipa/103266
+ * g++.dg/torture/pr103266.C: New test.
+
+2021-11-18 Tamar Christina <tamar.christina@arm.com>
+
+ PR tree-optimization/103311
+ * gcc.target/aarch64/pr103311.c: New test.
+
+2021-11-18 H.J. Lu <hjl.tools@gmail.com>
+
+ 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 <jeffreyalaw@gmail.com>
+
+ * gcc.target/mips/octeon-bbit-1.c (f3): Add noipa attribute.
+
+2021-11-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/99911
+ * g++.dg/cpp2a/fn-template24.C: New test.
+
+2021-11-18 Patrick Palka <ppalka@redhat.com>
+
+ 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 <tamar.christina@arm.com>
+
+ PR tree-optimization/103253
+ * gcc.dg/vect/pr103253.c: New test.
+
+2021-11-18 Matthias Kretz <m.kretz@gsi.de>
+
+ * c-c++-common/builtin-assoc-barrier-1.c: New test.
+
+2021-11-18 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/103278
+ * gcc.dg/tree-ssa/if-to-switch-3.c: Supply
+ --param case-values-threshold=4.
+
+2021-11-18 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/103277
+ * gcc.dg/pr103277.c: New testcase.
+
+2021-11-18 Hongyu Wang <hongyu.wang@intel.com>
+
+ * gcc.target/i386/pr103069-2.c: Adjust.
+
+2021-11-18 konglin1 <lingling.kong@intel.com>
+
+ * 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 <apinski@marvell.com>
PR tree-optimization/103228
+2021-11-18 David Edelsohn <dje.gcc@gmail.com>
+
+ * alloc.c (gomp_aligned_alloc): Fix typo.
+
+2021-11-18 Jakub Jelinek <jakub@redhat.com>
+
+ 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 <jakub@redhat.com>
+
+ 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 <jakub@redhat.com>
* libgomp.texi (OpenMP 5.1): Mark thread_limit clause to target
+2021-11-18 Jakub Jelinek <jakub@redhat.com>
+
+ 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 <hjl.tools@gmail.com>
* LOCAL_PATCHES: Update to the corresponding revision.
+2021-11-18 Jonathan Wakely <jwakely@redhat.com>
+
+ * 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 <jwakely@redhat.com>
+
+ * acinclude.m4: Replace AC_CACHE_VAL with AC_CACHE_CHECK.
+ * configure: Regenerate.
+
2021-11-17 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/internet (address): Use std::_Construct