aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog329
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog10
-rw-r--r--gcc/c/ChangeLog41
-rw-r--r--gcc/cp/ChangeLog128
-rw-r--r--gcc/testsuite/ChangeLog355
-rw-r--r--intl/ChangeLog10
-rw-r--r--libcpp/ChangeLog9
-rw-r--r--libgomp/ChangeLog7
-rw-r--r--libsanitizer/ChangeLog10
-rw-r--r--libstdc++-v3/ChangeLog20
11 files changed, 920 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 02d7a00..b1f5765 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,332 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/99905
+ * combine.c (expand_compound_operation): If pos + len > modewidth,
+ perform the right shift by pos in inner_mode and then convert to mode,
+ instead of trying to simplify a shift of rtx with inner_mode by pos
+ as if it was a shift in mode.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/99830
+ * combine.c (simplify_and_const_int_1): Don't optimize varop
+ away if it has side-effects.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR lto/99849
+ * expr.c (expand_expr_addr_expr_1): Test is_global_var rather than
+ just TREE_STATIC on COMPOUND_LITERAL_EXPR_DECLs.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/98601
+ * rtlanal.c (rtx_addr_can_trap_p_1): Allow in assert unknown size
+ not just for BLKmode, but also for VOIDmode. For STRICT_ALIGNMENT
+ unaligned_mems handle VOIDmode like BLKmode.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/99863
+ * dse.c (replace_read): Drop regs_live argument. Instead of
+ regs_live, use store_insn->fixed_regs_live if non-NULL,
+ otherwise punt if insns sequence clobbers or sets any hard
+ registers.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/99777
+ * fold-const.c (extract_muldiv_1): For conversions, punt on casts from
+ types other than scalar integral types.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/99334
+ * dwarf2out.h (struct dw_fde_node): Add rule18 member.
+ * dwarf2cfi.c (dwarf2out_frame_debug_expr): When handling (set hfp sp)
+ assignment with drap_reg active, queue reg save for hfp with offset 0
+ and flush queued reg saves. When handling a push with rule18,
+ defer queueing reg save for hfp and just assert the offset is 0.
+ (scan_trace): Assert that fde->rule18 is false.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/99388
+ * dwarf2out.c (insert_float): Change return type from void to
+ unsigned, handle GET_MODE_SIZE (mode) == 2 and return element size.
+ (mem_loc_descriptor, loc_descriptor, add_const_value_attribute):
+ Adjust callers.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/93235
+ * expmed.c (store_bit_field_using_insv): Return false of xop0 is a
+ SUBREG and a SUBREG to op_mode can't be created.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/99225
+ * fold-const.c (fold_binary_loc) <case NE_EXPR>: In (x & (1 << y)) != 0
+ to ((x >> y) & 1) != 0 simplifications use build_one_cst instead of
+ build_int_cst (..., 1). Formatting fixes.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/99204
+ * fold-const.c (fold_read_from_constant_string): Check that
+ tree_fits_uhwi_p (index) rather than just that index is INTEGER_CST.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR ipa/99034
+ * tree-cfg.c (gimple_merge_blocks): If bb a starts with eh landing
+ pad or non-local label, put FORCED_LABELs from bb b after that label
+ rather than before it.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/99079
+ * match.pd (A % (pow2pcst << N) -> A & ((pow2pcst << N) - 1)): Remove
+ useless tree_nop_conversion_p (type, TREE_TYPE (@3)) check. Instead
+ require both type and TREE_TYPE (@1) to be integral types and either
+ type having smaller or equal precision, or TREE_TYPE (@1) being
+ unsigned type, or type being signed type. If TREE_TYPE (@1)
+ doesn't have wrapping overflow, perform the subtraction of one in
+ unsigned type.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99035
+ * varasm.c (declare_weak): For -fsyntax-only, allow even
+ TREE_ASM_WRITTEN function decls.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/99007
+ * gimplify.c (gimplify_scan_omp_clauses): For MEM_REF on reductions,
+ temporarily disable gimplify_ctxp->into_ssa around gimplify_expr
+ calls.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/97487
+ * ifcvt.c (noce_can_force_operand): New function.
+ (noce_emit_move_insn): Use it.
+ (noce_try_sign_mask): Likewise. Formatting fix.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/98331
+ * cfgbuild.c (find_bb_boundaries): Reset debug_insn when seeing
+ a BARRIER.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/98681
+ * config/aarch64/aarch64.c (aarch64_mask_and_shift_for_ubfiz_p):
+ Use UINTVAL (shft_amnt) and UINTVAL (mask) instead of INTVAL (shft_amnt)
+ and INTVAL (mask). Add && INTVAL (mask) > 0 condition.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR testsuite/97301
+ * config/rs6000/mmintrin.h (__m64): Add __may_alias__ attribute.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/90248
+ * match.pd (X cmp 0.0 ? 1.0 : -1.0 -> copysign(1, +-X),
+ X cmp 0.0 ? -1.0 : +1.0 -> copysign(1, -+X)): Remove
+ simplifications.
+ (X * (X cmp 0.0 ? 1.0 : -1.0) -> +-abs(X),
+ X * (X cmp 0.0 ? -1.0 : 1.0) -> +-abs(X)): New simplifications.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/98556
+ * tree-cfg.c (verify_gimple_assign_binary): Allow lhs of
+ POINTER_DIFF_EXPR to be any integral type.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/98474
+ * wide-int.cc (wi::to_mpz): If wide_int has MSB set, but type
+ is unsigned and excess negative, append set bits after len until
+ precision.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/98353
+ * gimplify.c (gimplify_init_ctor_eval_range): Gimplify value before
+ storing it into cref.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ * gimplify.c (struct gimplify_omp_ctx): Add has_depend member.
+ (gimplify_scan_omp_clauses): Set it to true if OMP_CLAUSE_DEPEND
+ appears on OMP_TASK.
+ (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Force
+ GOVD_WRITTEN on shared variables if task construct has depend clause.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/98183
+ * omp-low.c (lower_omp_target): Don't add OMP_RETURN for
+ data regions.
+ * omp-expand.c (expand_omp_target): Don't try to remove
+ OMP_RETURN for data regions.
+ (build_omp_regions_1, omp_make_gimple_edges): Don't expect
+ OMP_RETURN for data regions.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/98205
+ * omp-expand.c (expand_omp_for_generic): Fix up broken_loop handling.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/98100
+ * cfgexpand.c (expand_gimple_basic_block): For vars with
+ vector type, use TYPE_MODE rather than DECL_MODE.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ * dwarf2out.c (add_scalar_info): Only use add_AT_wide for 128-bit
+ constants and only in dwarf-5 or later, where DW_FORM_data16 is
+ available. Otherwise use DW_FORM_block*/DW_FORM_exprloc with
+ DW_OP_implicit_value to describe the constant.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/98063
+ * config/i386/i386.c (ix86_expand_call): Handle non-plt
+ CM_LARGE_PIC calls.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-11-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/97599
+ * dwarf2out.c (gen_subprogram_die): Call
+ gen_unspecified_parameters_die even if not early dwarf, but only
+ if subr_die is a newly created DIE.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-11-02 Jakub Jelinek <jakub@redhat.com>
+
+ * wide-int.cc (wi::set_bit_large): Call canonize unless setting
+ msb bit and clearing bits above it.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-10-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/97386
+ * combine.c (simplify_shift_const_1): Don't optimize nested ROTATEs if
+ they have different modes.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-10-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/97294
+ * tree-cfg.c (move_block_to_fn): Call notice_special_calls on
+ call stmts being moved into dest_cfun.
+ * omp-low.c (lower_rec_input_clauses): Set cfun->calls_alloca when
+ adding __builtin_alloca_with_align call without gimplification.
+
2021-04-19 Eric Botcazou <ebotcazou@adacore.com>
* config/i386/winnt.c (i386_pe_seh_cold_init): Properly deal with
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 87bf2ff..7e3f420 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210422
+20210423
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 7eb77fb..7ac4b20 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,13 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99324
+ * c-common.c (build_va_arg): Call c_common_mark_addressable_vec
+ instead of mark_addressable. Fix a comment typo -
+ neutrallly -> neutrally.
+
2020-09-17 Jakub Jelinek <jakub@redhat.com>
Backported from master:
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 453582e..6bd489e 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,44 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99990
+ * c-decl.c (finish_decl): Don't overwrite TREE_TYPE of
+ error_mark_node.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99588
+ * c-typeck.c (mark_exp_read): Recognize what build_atomic_assign
+ with modifycode NOP_EXPR produces and mark the _Atomic var as read
+ if found.
+ (build_atomic_assign): For modifycode of NOP_EXPR, use COMPOUND_EXPRs
+ rather than STATEMENT_LIST. Otherwise call mark_exp_read on lhs.
+ Set TREE_SIDE_EFFECTS on the TARGET_EXPR.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99136
+ * c-typeck.c (c_finish_return): Don't wrap retval into
+ EXCESS_PRECISION_EXPR in functions that return void.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-11-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/97958
+ * c-parser.c (c_parser_binary_expression): For omp atomic binary
+ expressions, use make_node instead of build2 to avoid checking build2
+ performs.
+
2020-09-17 Jakub Jelinek <jakub@redhat.com>
Backported from master:
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index dc23cf2..34ecef3 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,131 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99833
+ * pt.c (extract_locals_r): When handling DECL_EXPR of a structured
+ binding, add to data.internal also all corresponding structured
+ binding decls.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99790
+ * cp-gimplify.c (cp_gimplify_expr): Handle PTRMEM_CST.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99745
+ * decl2.c (grokbitfield): Diagnose bitfields containing bare parameter
+ packs and don't set DECL_BIT_FIELD_REPRESENTATIVE in that case.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99650
+ * decl.c (cp_finish_decomp): Diagnose void initializers when
+ using tuple_element and get.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99613
+ * decl.c (expand_static_init): For thread guards, call __cxa_atexit
+ before calling __cxa_guard_release rather than after it. Formatting
+ fixes.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/82959
+ * call.c (op_is_ordered): Handle TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR
+ and COMPOUND_EXPR.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/95451
+ * lambda.c (is_lambda_ignored_entity): Before checking for
+ LAMBDA_FUNCTION_P, use OVL_FIRST. Drop FUNCTION_DECL check.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/99106
+ * init.c (build_zero_init_1): For flexible array members just return
+ NULL_TREE instead of returning empty CONSTRUCTOR with non-complete
+ ARRAY_TYPE.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99033
+ * init.c (build_zero_init_1): Handle zero initialiation of
+ flexible array members like initialization of [0] arrays.
+ Use integer_minus_onep instead of comparison to integer_minus_one_node
+ and integer_zerop instead of comparison against size_zero_node.
+ Formatting fixes.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/97878
+ * decl.c (check_array_initializer): For structured bindings, require
+ the array type to be complete.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/33661
+ PR c++/98847
+ * decl.c (cp_finish_decl): For register vars with asmspec in templates
+ call set_user_assembler_name and set DECL_HARD_REGISTER.
+ * pt.c (tsubst_expr): When instantiating DECL_HARD_REGISTER vars,
+ pass asmspec_tree to cp_finish_decl.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/95693
+ * init.c (build_zero_init_1): Revert the 2018-03-06 change to
+ return build_zero_cst for reference types.
+ * typeck2.c (process_init_constructor_record): Instead call
+ build_zero_cst here during error recovery instead of build_zero_init.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-11-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/97663
+ * parser.c (cp_parser_init_declarator): Don't try to parse
+ C++17 deduction guides if there are any type specifiers even when
+ type is NULL.
+
2021-04-21 Patrick Palka <ppalka@redhat.com>
Backported from master:
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4554414..7c08256 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,358 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99833
+ * g++.dg/cpp1z/pr99833.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/99905
+ * gcc.target/i386/pr99905.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/99830
+ * gcc.dg/pr99830.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99990
+ * gcc.dg/pr99990.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR lto/99849
+ * gcc.dg/lto/pr99849_0.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/98601
+ * gcc.dg/torture/pr98601.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/99863
+ * gcc.target/i386/pr99863.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99790
+ * g++.dg/cpp1z/pr99790.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/99777
+ * g++.dg/torture/pr99777.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99745
+ * g++.dg/cpp0x/variadic181.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99650
+ * g++.dg/cpp1z/decomp55.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99588
+ * gcc.dg/Wunused-var-5.c: New test.
+ * gcc.dg/Wunused-var-6.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/93235
+ * gcc.target/aarch64/pr93235.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/82959
+ * g++.dg/cpp1z/eval-order10.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99324
+ * gcc.c-torture/compile/pr99324.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/95451
+ * g++.dg/cpp1y/lambda-generic-95451.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/99225
+ * gcc.c-torture/compile/pr99225.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/99204
+ * gfortran.dg/pr99204.f90: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR ipa/99034
+ * g++.dg/opt/pr99034.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99136
+ * gcc.dg/pr99136.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/99106
+ * g++.dg/ubsan/pr99106.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/99079
+ * gcc.dg/fold-modpow2-2.c: New test.
+ * gcc.c-torture/execute/pr99079.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99033
+ * g++.dg/ext/flexary38.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/99035
+ * g++.dg/ext/weak6.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/99007
+ * g++.dg/gomp/pr99007.C: New test.
+ * gcc.dg/gomp/pr99007-1.c: New test.
+ * gcc.dg/gomp/pr99007-2.c: New test.
+ * gcc.dg/gomp/pr99007-3.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/97878
+ * g++.dg/cpp1z/decomp54.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/97487
+ * gcc.dg/pr97487-1.c: New test.
+ * gcc.dg/pr97487-2.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/98331
+ * gcc.dg/pr98331.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/33661
+ PR c++/98847
+ * g++.dg/opt/pr98847.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/98681
+ * gcc.c-torture/execute/pr98681.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/95693
+ * g++.dg/ubsan/pr95693.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/90248
+ * gcc.dg/tree-ssa/copy-sign-1.c: Don't expect any copysign
+ builtins.
+ * gcc.dg/pr90248.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/98556
+ * c-c++-common/pr98556.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/98474
+ * gcc.c-torture/execute/pr98474.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/98353
+ * g++.dg/opt/pr98353.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/98183
+ * gcc.dg/gomp/pr98183.c: New test.
+ * gcc.dg/goacc/pr98183.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/98205
+ * c-c++-common/gomp/doacross-4.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/98100
+ * gcc.target/i386/pr98100.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/98063
+ * gcc.target/i386/pr98063.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-11-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/97958
+ * c-c++-common/gomp/pr97958.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-11-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/97663
+ * g++.dg/cpp1z/class-deduction75.C: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-10-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/97386
+ * gcc.c-torture/execute/pr97386-1.c: New test.
+ * gcc.c-torture/execute/pr97386-2.c: New test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-10-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/97294
+ * gcc.dg/asan/pr97294.c: New test.
+
2021-04-21 Patrick Palka <ppalka@redhat.com>
Backported from master:
diff --git a/intl/ChangeLog b/intl/ChangeLog
index 98ede28..912572d 100644
--- a/intl/ChangeLog
+++ b/intl/ChangeLog
@@ -1,3 +1,13 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR jit/100096
+ * configure.ac: Add --enable-host-shared support.
+ * Makefile.in: Update copyright. Add @PICFLAG@ to CFLAGS.
+ * configure: Regenerated.
+
2020-03-04 Release Manager
* GCC 8.4.0 released.
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index b09d3a3..da8689e 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,12 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2020-10-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR bootstrap/97163
+ * lex.c (search_line_fast): Only use _ARCH_PWR8 Altivec version
+ for GCC >= 4.5.
+
2020-03-04 Release Manager
* GCC 8.4.0 released.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index f79ff6c..1a2f07d 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,10 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-01-06 Jakub Jelinek <jakub@redhat.com>
+
+ * testsuite/libgomp.c/task-6.c: New test.
+
2021-03-25 Thomas Schwinge <thomas@codesourcery.com>
Backported from master:
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog
index 37d9adc..45197cb 100644
--- a/libsanitizer/ChangeLog
+++ b/libsanitizer/ChangeLog
@@ -1,3 +1,13 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-04-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/100114
+ * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
+ llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
+ and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
+
2020-03-04 Release Manager
* GCC 8.4.0 released.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d6896b6..bc27bc9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,23 @@
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR libstdc++/99181
+ * testsuite/21_strings/char_traits/requirements/char/99181.cc: New
+ test.
+
+2021-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR libstdc++/99181
+ * include/bits/char_traits.h (char_traits<char>::compare): For
+ constexpr evaluation don't call
+ __gnu_cxx::char_traits<char_type>::compare but do the comparison loop
+ directly.
+
2021-04-21 Patrick Palka <ppalka@redhat.com>
Backported from master: