[Bug tree-optimization/111877] [14 Regression] ICE: verify_ssa failed: PHI node with wrong VUSE on edge from BB 25 with -O -fno-tree-sink -ftree-vectorize

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111877

Tamar Christina  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|UNCONFIRMED |RESOLVED

--- Comment #3 from Tamar Christina  ---
merging the two

*** This bug has been marked as a duplicate of bug 111860 ***

[Bug tree-optimization/111877] [14 Regression] ICE: verify_ssa failed: PHI node with wrong VUSE on edge from BB 25 with -O -fno-tree-sink -ftree-vectorize

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111877

Tamar Christina  changed:

   What|Removed |Added

   Last reconfirmed||2023-10-19
   Assignee|unassigned at gcc dot gnu.org  |tnfchris at gcc dot 
gnu.org
   Priority|P3  |P1

--- Comment #2 from Tamar Christina  ---
(In reply to Richard Biener from comment #1)
> possibly fixed already

Sadly no, this is a third case where neither loop uses the value at all.

It's kept because the tree gets versioned and so it thinks the second loop
needs it.  I should probably always remove it if the first loop doesn't use it
and fix it up in the guard creation instead.

[Bug tree-optimization/111877] [14 Regression] ICE: verify_ssa failed: PHI node with wrong VUSE on edge from BB 25 with -O -fno-tree-sink -ftree-vectorize

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111877

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |14.0
 CC||tnfchris at gcc dot gnu.org

--- Comment #1 from Richard Biener  ---
possibly fixed already