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

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

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 57611
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57611&action=edit
gcc14-pr114190.patch

Untested fix.  After removing the REG_DEAD/REG_UNUSED notes the pass calls
df_analyze, but as problems are normally only removed during df_finish_pass,
the note problem is still requested and the df_analyze recreates the notes
again.
We could just move the df_analyze before the manual note removal, but I think
it is a waste of time to compute the notes again there.

Reply via email to