From 00cbba897fbbc492274a8c800b46fda72c638a58 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 8 Jul 2015 20:06:57 +0200 Subject: [PATCH] predicates.md (general_reg_operand): Use GENERAL_REGNO_P. * config/i386/predicates.md (general_reg_operand): Use GENERAL_REGNO_P. From-SVN: r225568 --- gcc/ChangeLog | 8 ++++++-- gcc/config/i386/predicates.md | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f6084c9338..0befd6c7f6a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,8 +1,12 @@ +2015-07-08 Uros Bizjak + + * config/i386/predicates.md (general_reg_operand): Use GENERAL_REGNO_P. + 2015-07-08 Iain Sandoe PR target/66523 - * config/darwin.c (darwin_mark_decl_preserved): Exclude 'L' label names from - preservation. + * config/darwin.c (darwin_mark_decl_preserved): Exclude 'L' label + names from preservation. 2015-07-08 Vladimir Makarov diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index 4e45246e069..2fa5db6074d 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -35,7 +35,7 @@ ;; True if the operand is a GENERAL class register. (define_predicate "general_reg_operand" (and (match_code "reg") - (match_test "GENERAL_REG_P (op)"))) + (match_test "GENERAL_REGNO_P (REGNO (op))"))) ;; Return true if OP is a register operand other than an i387 fp register. (define_predicate "register_and_not_fp_reg_operand" -- 2.30.2