https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101649
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is a promotion to double, just happens GCC is able to undo the promotion. Note -Wconversion also avoids warning in similar cases where there is implicit conversion and then the conversion was removed.