https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101758
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- You can see the difference here: float b(unsigned a) { return *(float*)&a; } float d1(unsigned a) { unsigned t = a; return *(float*)&t; }