https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |10.3.0
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot 
gnu.org
           Priority|P3                          |P2
      Known to fail|                            |11.1.0, 12.0
   Last reconfirmed|                            |2021-06-11
   Target Milestone|---                         |11.2
     Ever confirmed|0                           |1
            Version|unknown                     |12.0
            Summary|wrong code at -O3 on        |[11/12 Regression] wrong
                   |x86_64-linux-gnu            |code at -O3 on
                   |                            |x86_64-linux-gnu
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  -fno-tree-vectorize fixes it, but in the end it seems to be
store motion that moves the vector stores across the stores in the if (!g)
block.  Thus -fno-tree-loop-im also fixes it.

Reply via email to