https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82933
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 42663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42663&action=edit gcc8-pr82933.patch Or we can just hack around this and hope dwarf2out or others don't rely on some other hooks to be invoked before actually processing the RTL.