diff options
author | Bob Wilson <bob.wilson@acm.org> | 2007-02-05 22:50:31 +0000 |
---|---|---|
committer | Bob Wilson <bwilson@gcc.gnu.org> | 2007-02-05 22:50:31 +0000 |
commit | 63694bdd4ea2e2df10f86a16b5e3ccd38209e34a (patch) | |
tree | 5eb66080c4c117d95de92b87ac550dca922b50c3 /gcc/config | |
parent | b95becfc098b8853f95c5302657c0b46ff575cb3 (diff) | |
download | gcc-63694bdd4ea2e2df10f86a16b5e3ccd38209e34a.zip gcc-63694bdd4ea2e2df10f86a16b5e3ccd38209e34a.tar.gz gcc-63694bdd4ea2e2df10f86a16b5e3ccd38209e34a.tar.bz2 |
* config/xtensa/xtensa.c (constantpool_mem_p): Skip over SUBREGs.
From-SVN: r121622
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/xtensa/xtensa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c index 6269f1f..5f7e6d0 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c @@ -449,6 +449,8 @@ constantpool_address_p (rtx addr) int constantpool_mem_p (rtx op) { + if (GET_CODE (op) == SUBREG) + op = SUBREG_REG (op); if (GET_CODE (op) == MEM) return constantpool_address_p (XEXP (op, 0)); return FALSE; |