diff options
author | Diego Novillo <dnovillo@cygnus.com> | 1999-10-07 06:38:15 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 1999-10-07 02:38:15 -0400 |
commit | 201b6183d2ec620dc02028b061755451ecf61579 (patch) | |
tree | a9f5ee694e3532049d2bbec77b8ddb3779bf85bf /gcc | |
parent | 56934d5c71573a16adf4a78afa16a0e27bfa5668 (diff) | |
download | gcc-201b6183d2ec620dc02028b061755451ecf61579.zip gcc-201b6183d2ec620dc02028b061755451ecf61579.tar.gz gcc-201b6183d2ec620dc02028b061755451ecf61579.tar.bz2 |
rs6000.c (secondary_reload_class): For TARGET_ELF make sure that HIGH instructions are copied into BASE_REGS.
* config/rs6000/rs6000.c (secondary_reload_class): For
TARGET_ELF make sure that HIGH instructions are copied
into BASE_REGS.
From-SVN: r29850
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 26ca580..2e961c4 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2620,6 +2620,7 @@ secondary_reload_class (class, mode, in) is needed as an intermediate register. */ if (class != BASE_REGS && (GET_CODE (in) == SYMBOL_REF + || GET_CODE (in) == HIGH || GET_CODE (in) == LABEL_REF || GET_CODE (in) == CONST)) return BASE_REGS; |