https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117
--- Comment #19 from Alan Modra <amodra at gcc dot gnu.org> --- Author: amodra Date: Mon Apr 11 13:47:40 2016 New Revision: 234881 URL: https://gcc.gnu.org/viewcvs?rev=234881&root=gcc&view=rev Log: PR70117, ppc long double isinf gcc/ PR target/70117 * builtins.c (fold_builtin_classify): For IBM extended precision, look at just the high-order double to test for NaN. (fold_builtin_interclass_mathfn): Similarly for Inf. For isnormal test just the high double for Inf but both doubles for subnormal limit. gcc/testsuite/ * gcc.target/powerpc/pr70117.c: New. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.target/powerpc/pr70117.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/builtins.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog