https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111842
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- As defined by the standard: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1467r4.html#implicit You could either use f16 or add an explicit cast to avoid the (ped)warning