[Bug target/110059] When SPEC is used to test the GCC (10.3.1), the test result of subitem 548 fluctuates abnormally.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110059 --- Comment #5 from Richard Biener --- The "after revert" numbers fluctuate more, so not sure what you are after.
[Bug rtl-optimization/58517] ifcvt (after combine) puts ccreg clobbering insn between ccset insn and ccreg use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58517 --- Comment #11 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > The reason why r6-3654-g6b7e867187889 didn't fix this case is because it was > not looking into clobbers only the set side. > > Note the conditional in my patch should have been > if (reg_overlap_mentioned_p (DF_REF_REG (def), cond)) > > Maybe it should be bb_valid_for_noce_process_p instead, I am not 100% sure > on that. This does not fix the issue as (In reply to Andrew Pinski from comment #9) > The reason why r6-3654-g6b7e867187889 didn't fix this case is because it was > not looking into clobbers only the set side. > > Note the conditional in my patch should have been > if (reg_overlap_mentioned_p (DF_REF_REG (def), cond)) > > Maybe it should be bb_valid_for_noce_process_p instead, I am not 100% sure > on that. This patch is not enough. Though the patch in comment #4 is not enough any more either.
[Bug middle-end/110055] Dangling pointer warning inside std::vector on RISC-V
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #7 from Richard Biener --- The clobber is built by gimplify_target_expr and TARGET_EXPR_SLOT is changed in place to the static variable. Does the following fix the RISC-V issue? diff --git a/gcc/gimplify.cc b/gcc/gimplify.cc index ade6e335da7..aece89a3e9b 100644 --- a/gcc/gimplify.cc +++ b/gcc/gimplify.cc @@ -7154,8 +7154,10 @@ gimplify_target_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p) gimplify_and_add (init, &init_pre_p); /* Add a clobber for the temporary going out of scope, like -gimplify_bind_expr. */ +gimplify_bind_expr. But only if we did not promote the +temporary to static storage. */ if (gimplify_ctxp->in_cleanup_point_expr + && !TREE_STATIC (temp) && needs_to_live_in_memory (temp)) { if (flag_stack_reuse == SR_ALL)
[Bug middle-end/110055] Dangling pointer warning inside std::vector on RISC-V
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #6 from Richard Biener --- confirmed - that's quite an odd thing. gimplify_init_constructor creates this constant pool entry, not sure who ends up ending its lifetime.
[Bug libstdc++/110050] experimental/simd/pr109822_cast_functions.cc fails on arm after g:668d43502f465d48adbc1fe2956b979f36657e5f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110050 --- Comment #7 from Matthias Kretz (Vir) --- Yes, I still need to backport because the new test is also present on the branches.
[Bug libstdc++/110050] experimental/simd/pr109822_cast_functions.cc fails on arm after g:668d43502f465d48adbc1fe2956b979f36657e5f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110050 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #6 from Richard Biener --- Fixed I suppose.