Blame SOURCES/gcc32-ia64-expand_load_address.patch
|
|
4ac4fd |
2004-10-05 Richard Henderson <rth@redhat.com>
|
|
|
4ac4fd |
|
|
|
4ac4fd |
* config/ia64/ia64.c (ia64_expand_load_address): Recurse for
|
|
|
4ac4fd |
base of addition.
|
|
|
4ac4fd |
|
|
|
4ac4fd |
--- gcc/config/ia64/ia64.c 2003/11/21 14:18:53 1.139.2.15.8.11
|
|
|
4ac4fd |
+++ gcc/config/ia64/ia64.c 2004/10/05 22:24:12 1.139.2.15.8.12
|
|
|
4ac4fd |
@@ -1052,8 +1052,7 @@
|
|
|
4ac4fd |
if (! scratch)
|
|
|
4ac4fd |
scratch = no_new_pseudos ? subtarget : gen_reg_rtx (DImode);
|
|
|
4ac4fd |
|
|
|
4ac4fd |
- emit_insn (gen_load_symptr (subtarget, plus_constant (sym, hi),
|
|
|
4ac4fd |
- scratch));
|
|
|
4ac4fd |
+ ia64_expand_load_address (subtarget, plus_constant (sym, hi), scratch);
|
|
|
4ac4fd |
emit_insn (gen_adddi3 (temp, subtarget, GEN_INT (lo)));
|
|
|
4ac4fd |
}
|
|
|
4ac4fd |
else
|