diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5fab821eb76..c497a529d8b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-11-05 H.J. Lu + + * config/i386/i386.c (print_reg): Replace REX_INT_REG_P with + REX_INT_REGNO_P. + 2012-11-05 Eric Botcazou PR tree-optimization/54986 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2066b894be9..62f380fcd6d 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -14119,7 +14119,7 @@ print_reg (rtx x, int code, FILE *file) /* Irritatingly, AMD extended registers use different naming convention from the normal registers: "r%d[bwd]" */ - if (REX_INT_REG_P (x)) + if (REX_INT_REGNO_P (regno)) { gcc_assert (TARGET_64BIT); putc ('r', file);