diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-29 17:35:57 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-29 17:35:57 +0000 |
commit | 22cf44bc1d44921146a9f3345a6e922ecfd0e889 (patch) | |
tree | 82c339206e63aab7b8cc6be35db94ce2f5dc014a /gcc/print-rtl.c | |
parent | a396ebb9d59ba8bb4cdb424e4def201c00c57f7e (diff) | |
download | gcc-22cf44bc1d44921146a9f3345a6e922ecfd0e889.tar.gz |
Introduce ORIGINAL_REGNO macro
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38546 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r-- | gcc/print-rtl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index d895ce4bfb6..502834dd81a 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)) |