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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot 
gnu.org

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I have a fix via disable it for phiopt for this case:
```
      /* Don't `thread` through a loop unless loop opts are done. */
      if (!(cfun->curr_properties & PROP_loop_opts_done)
          && (bb1 == bb || bb2 == bb))
        continue;
```
....

Reply via email to