I think this patch is causing a glibc testing error. The tests math/bug-nextafter and math/bug-nexttoward are failing due to underflow not getting set. Here is a test case that should print nothing but is currently printing the 'did not underflow' message.
#include <fenv.h> #include <math.h> #include <float.h> #include <stdlib.h> #include <stdio.h> float zero = 0.0; float inf = INFINITY; int main (void) { int result = 0; float i = INFINITY; float m = FLT_MAX; i = 0; m = FLT_MIN; feclearexcept (FE_ALL_EXCEPT); i = nextafterf (m, i); if (i < 0 || i >= FLT_MIN) { printf ("nextafterf+ failed\n"); ++result; } if (fetestexcept (FE_UNDERFLOW) == 0) { printf ("nextafterf+ did not underflow\n"); ++result; } return result; }