+2021-07-19 Indu Bhagat <indu.bhagat@oracle.com>
+
+ * config/elfos.h (CTF_DEBUGGING_INFO): New definition.
+ (BTF_DEBUGGING_INFO): Likewise.
+ * doc/tm.texi.in: Document the new macros.
+ * doc/tm.texi: Regenerated.
+ * toplev.c: Guard initialization of debug hooks.
+
+2021-07-19 Indu Bhagat <indu.bhagat@oracle.com>
+
+ * flags.h (ctf_debuginfo_p): New function declaration.
+ * opts.c (ctf_debuginfo_p): New function definition.
+
+2021-07-19 Andrew Stubbs <ams@codesourcery.com>
+
+ PR target/100208
+ * config/gcn/gcn-hsa.h (DRIVER_SELF_SPECS): New.
+ (ASM_SPEC): Set -mattr for xnack and sram-ecc.
+ * config/gcn/gcn-opts.h (enum sram_ecc_type): New.
+ * config/gcn/gcn-valu.md: Add a warning comment.
+ * config/gcn/gcn.c (gcn_option_override): Add "sorry" for -mxnack.
+ (output_file_start): Add xnack and sram-ecc state to ".amdgcn_target".
+ * config/gcn/gcn.md: Add a warning comment.
+ * config/gcn/gcn.opt: Add -mxnack and -msram-ecc.
+ * config/gcn/mkoffload.c (EF_AMDGPU_MACH_AMDGCN_GFX908): Remove
+ SRAM-ECC flag.
+ (EF_AMDGPU_XNACK): New.
+ (EF_AMDGPU_SRAM_ECC): New.
+ (elf_flags): New.
+ (copy_early_debug_info): Use elf_flags.
+ (main): Handle -mxnack and -msram-ecc options.
+ * doc/invoke.texi: Document -mxnack and -msram-ecc.
+
+2021-07-19 Andrew Pinski <apinski@marvell.com>
+
+ PR target/101205
+ * config/aarch64/aarch64.md (csneg3_uxtw_insn): Rename to ...
+ (*cs<neg_not_cs>3_uxtw_insn4): and extend to NEG_NOT.
+
+2021-07-19 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/101505
+ * tree-vect-patterns.c (vect_determine_precisions): Walk
+ PHIs also for loop vectorization.
+
+2021-07-19 Richard Biener <rguenther@suse.de>
+
+ * gimple.h (gimple_expr_type): Remove.
+ * doc/gimple.texi: Remove gimple_expr_type documentation.
+
+2021-07-19 Richard Biener <rguenther@suse.de>
+
+ * tree-ssa-sccvn.c (vn_reference_eq): Handle NULL vr->type.
+ (ao_ref_init_from_vn_reference): Likewise.
+ (fully_constant_reference): Likewise.
+ (vn_reference_lookup_call): Do not set vr->type to random
+ values.
+ * tree-ssa-pre.c (compute_avail): Do not try to PRE calls
+ without a value.
+ * tree-vect-generic.c (expand_vector_piecewise): Pass in
+ whether we expanded parallel.
+ (expand_vector_parallel): Adjust.
+ (expand_vector_addition): Likewise.
+ (expand_vector_comparison): Likewise.
+ (expand_vector_operation): Likewise.
+ (expand_vector_scalar_condition): Likewise.
+ (expand_vector_conversion): Likewise.
+
+2021-07-19 Richard Biener <rguenther@suse.de>
+
+ * tree-vrp.c (register_edge_assert_for_2): Use the
+ type from the LHS.
+ (vrp_folder::fold_predicate_in): Likewise.
+ * vr-values.c (gimple_assign_nonzero_p): Likewise.
+ (vr_values::extract_range_from_comparison): Likewise.
+ (vr_values::extract_range_from_ubsan_builtin): Use the
+ type of the first operand.
+ (vr_values::extract_range_basic): Push down type
+ computation, use the appropriate LHS.
+ (vr_values::extract_range_from_assignment): Use the
+ type of the LHS.
+
2021-07-18 H.J. Lu <hjl.tools@gmail.com>
PR target/101492
+2021-07-19 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/101503
+ * constraint-manager.cc (constraint_manager::add_constraint): Use
+ can_have_associated_state_p rather than testing for unknown.
+ (constraint_manager::get_or_add_equiv_class): Likewise.
+ * program-state.cc (sm_state_map::set_state): Likewise.
+ (sm_state_map::impl_set_state): Add assertion.
+ * region-model-manager.cc
+ (region_model_manager::maybe_fold_unaryop): Handle poisoned
+ values.
+ (region_model_manager::maybe_fold_binop): Move handling of unknown
+ values...
+ (region_model_manager::get_or_create_binop): ...to here, and
+ generalize to use can_have_associated_state_p.
+ (region_model_manager::maybe_fold_sub_svalue): Use
+ can_have_associated_state_p rather than testing for unknown.
+ (region_model_manager::maybe_fold_repeated_svalue): Use unknown
+ when the size or repeated value is "unknown"/"poisoned".
+ * region-model.cc (region_model::purge_state_involving): Reject
+ attempts to purge unknown/poisoned svalues, as these svalues
+ should not have state associated with them.
+ * svalue.cc (sub_svalue::sub_svalue): Assert that we're building
+ on top of an svalue with can_have_associated_state_p.
+ (repeated_svalue::repeated_svalue): Likewise.
+ (bits_within_svalue::bits_within_svalue): Likewise.
+ * svalue.h (svalue::can_have_associated_state_p): New.
+ (unknown_svalue::can_have_associated_state_p): New.
+ (poisoned_svalue::can_have_associated_state_p): New.
+ (unaryop_svalue::unaryop_svalue): Assert that we're building on
+ top of an svalue with can_have_associated_state_p.
+ (binop_svalue::binop_svalue): Likewise.
+ (widening_svalue::widening_svalue): Likewise.
+
2021-07-16 David Malcolm <dmalcolm@redhat.com>
* analyzer.h (enum access_direction): New.
+2021-07-19 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR c++/95520
+ * coroutines.cc (struct coroutine_info): Add fields for
+ actor and destroy function decls.
+ (to_ramp): New.
+ (coro_get_ramp_function): New.
+ (coro_get_actor_function): New.
+ (coro_get_destroy_function): New.
+ (act_des_fn): Set up mapping between ramp, actor and
+ destroy functions.
+ (morph_fn_to_coro): Adjust interface to the builder for
+ helper function decls.
+ * cp-tree.h (DECL_ACTOR_FN, DECL_DESTROY_FN, DECL_RAMP_FN,
+ JOIN_STR): New.
+ * mangle.c (write_encoding): Handle coroutine helpers.
+ (write_unqualified_name): Handle lambda coroutine helpers.
+
2021-07-16 Patrick Palka <ppalka@redhat.com>
PR c++/101233
+2021-07-19 Martin Sebor <msebor@redhat.com>
+
+ * gcc.target/powerpc/pr93658.c: Suppress valid warnings.
+
+2021-07-19 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR c++/95520
+ * g++.dg/coroutines/pr95520.C: New test.
+
+2021-07-19 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/101503
+ * gcc.dg/analyzer/pr101503.c: New test.
+
+2021-07-19 Indu Bhagat <indu.bhagat@oracle.com>
+
+ * gcc.dg/debug/btf/btf.exp: Do not run BTF testsuite if target does not
+ support BTF format. Remove redundant check for AIX.
+ * gcc.dg/debug/ctf/ctf.exp: Do not run CTF testsuite if target does not
+ support CTF format. Remove redundant check for AIX.
+ * lib/gcc-dg.exp: Remove redundant check for AIX.
+
+2021-07-19 Andrew Stubbs <ams@codesourcery.com>
+
+ PR target/100208
+ * gcc.target/gcn/sram-ecc-1.c: New test.
+ * gcc.target/gcn/sram-ecc-2.c: New test.
+ * gcc.target/gcn/sram-ecc-3.c: New test.
+ * gcc.target/gcn/sram-ecc-4.c: New test.
+ * gcc.target/gcn/sram-ecc-5.c: New test.
+ * gcc.target/gcn/sram-ecc-6.c: New test.
+ * gcc.target/gcn/sram-ecc-7.c: New test.
+ * gcc.target/gcn/sram-ecc-8.c: New test.
+
+2021-07-19 Andrew Pinski <apinski@marvell.com>
+
+ PR target/101205
+ * gcc.target/aarch64/csinv-neg-1.c: New test.
+
+2021-07-19 Marek Polacek <polacek@redhat.com>
+
+ DR 2126
+ * g++.dg/cpp0x/constexpr-temp2.C: New test.
+
+2021-07-19 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/101505
+ * gcc.dg/vect/pr101505.c: New testcase.
+
2021-07-18 H.J. Lu <hjl.tools@gmail.com>
PR target/101492
+2021-07-19 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR target/101484
+ * config/gcn/team.c: Apply '-Werror=array-bounds' work-around.
+ * libgomp.h [__AMDGCN__]: Likewise.
+
2021-07-13 Jakub Jelinek <jakub@redhat.com>
Florian Weimer <fweimer@redhat.com>