aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/xcoff.h
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-11-22 05:19:29 +0000
committerBen Elliston <bje@gcc.gnu.org>2005-11-22 16:19:29 +1100
commitebb109add82e17c08e24de72bf1735ebbbc5081c (patch)
tree18e362b9e14d5d118480d4d1af3cd2b9ae13c7c0 /gcc/config/rs6000/xcoff.h
parent3d119f8fec4569301afddf6f8e308cc0e1558091 (diff)
downloadgcc-ebb109add82e17c08e24de72bf1735ebbbc5081c.zip
gcc-ebb109add82e17c08e24de72bf1735ebbbc5081c.tar.gz
gcc-ebb109add82e17c08e24de72bf1735ebbbc5081c.tar.bz2
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
Diffstat (limited to 'gcc/config/rs6000/xcoff.h')
-rw-r--r--gcc/config/rs6000/xcoff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index e954705..822b5a0 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -164,7 +164,7 @@ toc_section (void) \
|| (GET_CODE (X) == CONST_DOUBLE \
&& (TARGET_POWERPC64 \
|| TARGET_MINIMAL_TOC \
- || (GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT \
+ || (SCALAR_FLOAT_MODE_P (GET_MODE (X)) \
&& ! TARGET_NO_FP_IN_TOC)))))
#define TARGET_ASM_GLOBALIZE_LABEL rs6000_xcoff_asm_globalize_label