This fixes gcc.target/powerpc/recip-[67].c with -m32 -mpowerpc64. Tested etc.; okay for mainline?
Segher 2015-01-08 Segher Boessenkool <seg...@kernel.crashing.org> gcc/testsuite/ * gcc.target/powerpc/recip-test.h (_ARCH_PPC64): Use __LP64__ instead. --- gcc/testsuite/gcc.target/powerpc/recip-test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/powerpc/recip-test.h b/gcc/testsuite/gcc.target/powerpc/recip-test.h index 7a42df5..0c60671 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-test.h +++ b/gcc/testsuite/gcc.target/powerpc/recip-test.h @@ -1,6 +1,6 @@ /* Check reciprocal estimate functions for accuracy. */ -#ifdef _ARCH_PPC64 +#ifdef __LP64__ typedef unsigned long uns64_t; #define UNUM64(x) x ## L -- 1.8.1.4