https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119991
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmalcolm at gcc dot gnu.org
Summary|internal compiler error: |[13/14/15/16 Regression]
|tree check: expected class |internal compiler error:
|'type', have 'exceptional' |tree check: expected class
|(error_mark) in |'type', have 'exceptional'
|create_tmp_from_val, at |(error_mark) in
|gimplify.cc:621 |create_tmp_from_val, at
| |gimplify.cc:621
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Confirmed on trunk.
gcc 11.4 with assertions: no ICE: https://godbolt.org/z/joP6Ga3YT
gcc 12.5 with assertions: ICE: https://godbolt.org/z/f1j34cnoY
gcc 15.2 with assertions: ICE: https://godbolt.org/z/PscEW8qKc
So presumably this ICE was introduced in GCC 15.