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

--- Comment #12 from Alan Modra <amodra at gmail dot com> ---
Created attachment 37857
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37857&action=edit
workaround patch

Given the problems identified with notes (and of course the notes are what
drives reg_equiv_init passed on to reload), one simple fix is to run
delete_trivially_dead_insns early in ira.  I've left the later call in, but
that might be better moved into the optimize && rebuild_p block.

Reply via email to