From 7b4bc98402f4ae1f0352b3a668a8b8af782fa1c6 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sat, 28 Jan 2017 19:43:56 +0100 Subject: [PATCH] i386.c (print_reg): Use REGNO instead of true_regnum. * config/i386/i386.c (print_reg): Use REGNO instead of true_regnum. From-SVN: r245009 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39e6c1fb86d..d9afe08245f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-01-27 Uros Bizjak + + * config/i386/i386.c (print_reg): Use REGNO instead of true_regnum. + 2017-01-27 Bernd Schmidt PR rtl-optimization/79194 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 15498a954ea..377e49a507a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -17592,7 +17592,7 @@ print_reg (rtx x, int code, FILE *file) else msize = GET_MODE_SIZE (GET_MODE (x)); - regno = true_regnum (x); + regno = REGNO (x); gcc_assert (regno != ARG_POINTER_REGNUM && regno != FRAME_POINTER_REGNUM -- 2.30.2