diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2001-12-06 14:39:11 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2001-12-06 14:39:11 +0000 |
commit | 69da3e3a727f6a4eda08eef287ecdbfd9e602806 (patch) | |
tree | a56c3ea9262b7441ab7c0a421a09a36f2b11c217 /gcc/flow.c | |
parent | f189c7caeab86e208a54b85419dcfe8b331c0f63 (diff) | |
download | gcc-69da3e3a727f6a4eda08eef287ecdbfd9e602806.zip gcc-69da3e3a727f6a4eda08eef287ecdbfd9e602806.tar.gz gcc-69da3e3a727f6a4eda08eef287ecdbfd9e602806.tar.bz2 |
flow.c (find_regno_partial): Return register, not the expression the register is in.
2001-12-06 Andrew MacLeod <amacleod@redhat.com>
* flow.c (find_regno_partial): Return register, not the expression
the register is in.
From-SVN: r47720
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1327,7 +1327,7 @@ find_regno_partial (ptr, data) case STRICT_LOW_PART: if (GET_CODE (XEXP (*ptr, 0)) == REG && REGNO (XEXP (*ptr, 0)) == reg) { - param->retval = *ptr; + param->retval = XEXP (*ptr, 0); return 1; } break; @@ -1336,7 +1336,7 @@ find_regno_partial (ptr, data) if (GET_CODE (SUBREG_REG (*ptr)) == REG && REGNO (SUBREG_REG (*ptr)) == reg) { - param->retval = *ptr; + param->retval = SUBREG_REG (*ptr); return 1; } break; |