https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127785
--- Comment #3 from Igor Shevlyakov <igor at tachyum dot com> --- I had another fix in my patch, but yours seems to be cleaner. Restaing my regtest with your solution, unless you want just to apply it
