https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- In fact, having tested it, and used static linking to make sure the new libquadmath was used rather than an older distribution version, this bug was fixed in GCC 8, presumably by the r250343 merge of changes from glibc.