aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.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/final.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/final.c')
-rw-r--r--gcc/final.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/final.c b/gcc/final.c
index bbdb59e..0d9d2a3 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -3169,6 +3169,7 @@ alter_subreg (x)
#endif
PUT_CODE (x, REG);
REGNO (x) = regno;
+ ORIGINAL_REGNO (x) = ORIGINAL_REGNO (y);
/* This field has a different meaning for REGs and SUBREGs. Make sure
to clear it! */
x->used = 0;