From ebb109add82e17c08e24de72bf1735ebbbc5081c Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 22 Nov 2005 05:19:29 +0000 Subject: optabs.c: Use SCALAR_FLOAT_MODE_P instead of explicitly testing GET_MODE_CLASS (x) ==... * optabs.c: Use SCALAR_FLOAT_MODE_P instead of explicitly testing GET_MODE_CLASS (x) == MODE_FLOAT. * config/i386/i386.c: Likewise. * config/rs6000/xcoff.h: Likewise. * config/rs6000/linux64.h: Likewise. * config/rs6000/rs6000.c: Likewise. * config/rs6000/rs6000.h: Likewise. * config/rs6000/predicates.md: Likewise. * config/rs6000/sysv4.h: Likewise. From-SVN: r107348 --- gcc/config/rs6000/sysv4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/rs6000/sysv4.h') diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 38d921a..238b497 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -508,7 +508,7 @@ fini_section (void) \ || (!TARGET_NO_FP_IN_TOC \ && !TARGET_RELOCATABLE \ && GET_CODE (X) == CONST_DOUBLE \ - && GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT \ + && SCALAR_FLOAT_MODE_P (GET_MODE (X)) \ && BITS_PER_WORD == HOST_BITS_PER_INT))) /* These macros generate the special .type and .size directives which -- cgit v1.1