https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118949
--- Comment #9 from Jeffrey A. Law <law at gcc dot gnu.org> --- I'd kind of lean towards the scheduler to fix this up. I've got an old patch that I put on ICE that might be helpful. https://inbox.sourceware.org/gcc-patches/d59x71nu21wx.3ndzz35ya8...@gmail.com/T/