https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86367
--- Comment #5 from Michael Meissner <meissner at gcc dot gnu.org> --- Created attachment 44342 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44342&action=edit Patch to map 'q' builtins to 'l' instead of 'f128' This patch 'fixes' the problem by changing the __builtin_nanq and __builtin_nansq functions to __builtin_nanl and __builtin_nansl when long double is IEEE, but I suspect it is just papering over the problem. If you call __builtin_nanf128, it will still fail.