https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103491
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |middle-end Keywords| |wrong-code --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The -O0 case is a glibc issue and should be reported there as gcc just calls nextafter function. The -O1 and above seems like a GCC issue though.