aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@redhat.com>2000-12-29 17:35:57 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2000-12-29 17:35:57 +0000
commit08394eefae77ab1b344232e1fe151064f839324f (patch)
tree82c339206e63aab7b8cc6be35db94ce2f5dc014a /gcc/print-rtl.c
parent5538d8a0043b1dc9abf08cbda0d27954f6931933 (diff)
downloadgcc-08394eefae77ab1b344232e1fe151064f839324f.zip
gcc-08394eefae77ab1b344232e1fe151064f839324f.tar.gz
gcc-08394eefae77ab1b344232e1fe151064f839324f.tar.bz2
Introduce ORIGINAL_REGNO macro
From-SVN: r38546
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index d895ce4b..502834d 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -170,6 +170,12 @@ print_rtx (in_rtx)
An exception is the third field of a NOTE, where it indicates
that the field has several different valid contents. */
case '0':
+ if (i == 1 && GET_CODE (in_rtx) == REG)
+ {
+ if (REGNO (in_rtx) != ORIGINAL_REGNO (in_rtx))
+ fprintf (outfile, " [%d]", ORIGINAL_REGNO (in_rtx));
+ break;
+ }
if (i == 3 && GET_CODE (in_rtx) == NOTE)
{
switch (NOTE_LINE_NUMBER (in_rtx))