https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118106
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- Floating constants in integer constant expressions must be immediate operands of casts to integer types; you can't do any floating-point arithmetic on them (such as dividing by 2) first.