https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125257
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> --- -flto-partition=cache should be rejected if `--param=lto-min-partition=0` is set rather than an ICE which is why this is "invalid code".
