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

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> ---
(In reply to Andrew Pinski from comment #10)
> Hmm:
> ```
>       for (df_ref use = DF_REG_USE_CHAIN (REGNO(dest));
>            use;
>            use = DF_REF_NEXT_REG (use))
>         {
>           int ubbi = DF_REF_BB (use)->index;
>           if (bitmap_bit_p (reachable, ubbi))
>             bitmap_set_bit (need_new, ubbi);
>         }
> 
> ```
> 
> I think this should check if the use was not a debug insn.
> that is `!DEBUG_INSN_P (DF_REF_INSN (use))` .
> 
> Let me check that tomorrow.

Yes that fixes the issue.

Reply via email to