From 8e10366fe5d9f83cdc4ec48cf8b97aaf2c0eff99 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 8 Feb 2013 13:06:03 +0100 Subject: [PATCH] i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. From-SVN: r195881 --- gcc/ChangeLog | 10 ++++++---- gcc/config/i386/i386.c | 5 ++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9cf0e2ffeee..07700e7b3b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,10 @@ +2013-02-08 Uros Bizjak + + * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. + 2013-02-08 Marek Polacek - * cfgloop.c (verify_loop_structure): Add more checking - of headers. + * cfgloop.c (verify_loop_structure): Add more checking of headers. 2013-02-08 Richard Biener @@ -69,8 +72,7 @@ * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. * ipa-pure-const.c (analyze_function): Avoid calling mark_irreducible_loops twice. - * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops - for fixup. + * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. 2013-02-07 David S. Miller diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c6f3d53f0e0..8826acd004b 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -42083,9 +42083,8 @@ static reg_class_t ix86_spill_class (reg_class_t rclass, enum machine_mode mode) { if (TARGET_SSE && TARGET_GENERAL_REGS_SSE_SPILL && ! TARGET_MMX - && hard_reg_set_subset_p (reg_class_contents[rclass], - reg_class_contents[GENERAL_REGS]) - && (mode == SImode || (TARGET_64BIT && mode == DImode))) + && (mode == SImode || (TARGET_64BIT && mode == DImode)) + && INTEGER_CLASS_P (rclass)) return SSE_REGS; return NO_REGS; }