diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2021-04-23 00:19:03 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2021-04-23 00:19:03 +0000 |
commit | c6e8ecdcd421ccf092eca9a30205bdc2a5a89cb4 (patch) | |
tree | abe1e2c69d3050bd9da0e1eb4bb3b1c0c27ec20d /gcc/ChangeLog | |
parent | ef195a39d0d3b929cc676302d074b42c25460601 (diff) | |
download | gcc-c6e8ecdcd421ccf092eca9a30205bdc2a5a89cb4.zip gcc-c6e8ecdcd421ccf092eca9a30205bdc2a5a89cb4.tar.gz gcc-c6e8ecdcd421ccf092eca9a30205bdc2a5a89cb4.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 329 |
1 files changed, 329 insertions, 0 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 |