https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120910
--- Comment #3 from Paul Zimmermann <zimmerma+gcc at loria dot fr> --- note that clang does not emit underflow also with -ftrapping-math: zimmerma@biscotte:/tmp$ clang -ftrapping-math -O1 -march=x86-64-v3 -frounding-math /tmp/e.c -lm && ./a.out underflow: 0 y=inf