https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847
--- Comment #2 from Valentine <v at vsamko dot com> --- (In reply to Andrew Pinski from comment #1) > Try -flto-partition=one which might allow this to be reduced further. Thanks, just tried -flto-partition=one, still the same ICE. Other -flto-partition options didn't help either, the only thing that fixes this ICE for me is the "none" option.