This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/86367] FRE1 tree pass deletes code in gcc.target/powerpc/nan128-1.c when long double is IEEE 128


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]