https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108417
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection |ABI, ice-checking, | |ice-on-valid-code Known to work|12.2.1 | --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Biener from comment #2) > Confirmed. Note that trunk ICEs differently now: > > 253 gcc_checking_assert (TARGET_EXPR_ELIDING_P (from)); That assert is turned off for release checking .... There is no different ICE on the trunk, just the same one. And again this is exactly same as those other issues except still ICE instead of rejects valid: This language/ABI issue is tracked at https://wg21.link/cwg2403 and https://github.com/itanium-cxx-abi/cxx-abi/issues/107