[Bug target/96128] [11 Regression] ICE in do_store_flag, at expr.c:12247 since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f

2020-07-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96128

Martin Liška  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #4 from Martin Liška  ---
All right, I have a feasible solution.

[Bug target/96128] [11 Regression] ICE in do_store_flag, at expr.c:12247 since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f

2020-07-09 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96128

--- Comment #3 from rguenther at suse dot de  ---
On Thu, 9 Jul 2020, marxin at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96128
> 
> --- Comment #2 from Martin Liška  ---
> (In reply to Richard Biener from comment #1)
> > Just trace make_ssa_name ...
> 
> So this one is leftover from gimplify.c where we expand the first argument to
> assignment to a SSA NAME and so we end up only with the vector comparisons, 
> but
> no VEC_COND_EXPR.
> Would it be possible to remove the SSA_NAME in gimplify.c when we know the
> VEC_COND_EXPR is expanded to no-op?

Somehow switch gimplifying of the operand and evaluating "expanded to 
no-op", other than that, no - the gimplifier doesn't perform DCE.

[Bug target/96128] [11 Regression] ICE in do_store_flag, at expr.c:12247 since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f

2020-07-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96128

--- Comment #2 from Martin Liška  ---
(In reply to Richard Biener from comment #1)
> Just trace make_ssa_name ...

So this one is leftover from gimplify.c where we expand the first argument to
assignment to a SSA NAME and so we end up only with the vector comparisons, but
no VEC_COND_EXPR.
Would it be possible to remove the SSA_NAME in gimplify.c when we know the
VEC_COND_EXPR is expanded to no-op?

[Bug target/96128] [11 Regression] ICE in do_store_flag, at expr.c:12247 since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f

2020-07-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96128

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |11.0

--- Comment #1 from Richard Biener  ---
Just trace make_ssa_name ...

[Bug target/96128] [11 Regression] ICE in do_store_flag, at expr.c:12247 since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f

2020-07-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96128

Martin Liška  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-07-09