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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.2
            Summary|Wrong code at -O2           |[7/8 Regression] Wrong code
                   |                            |at -O2

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
But it is indeed true that this seems to be reassoc.  That pass shouldn't be
resetting the range info, instead it shouldn't reuse SSA_NAMEs unless they must
have the same value as before.  It has code to avoid the reusing, but most
likely this is a corner case that isn't handled well.
I'll have a look.

Reply via email to