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

Roman Zhuykov <zhroma at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-11-20
                 CC|                            |abel at gcc dot gnu.org,
                   |                            |amonakov at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
           Assignee|unassigned at gcc dot gnu.org      |zhroma at gcc dot 
gnu.org

--- Comment #6 from Roman Zhuykov <zhroma at gcc dot gnu.org> ---
Thanks for catching this!

When modulo sched succeded and found that counter register is const-initialized
in prologue it wrongly directly adjust the initization without checking that
register may be read a bit later in prologue.

I've attached the patch I'm testing.

Reply via email to