https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123370
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-01-03
Known to fail| |7.1.0
Ever confirmed|0 |1
Summary|ICE: in |ICE: in
|build_conditional_expr, at |build_conditional_expr, at
|c/c-typeck.cc with _Float16 |c/c-typeck.cc with _Float16
|and ternary operator |and ternary operator and !
Keywords| |ice-on-valid-code
Target| |aarch64 x86_64
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. this ICE goes all the way back to GCC 7 at least (that was when
_Float16 support was added for aarch64; x86_64 added it in GCC 12).