From c477c28e41bb5120d353e5d383d746ab50ae7021 Mon Sep 17 00:00:00 2001 From: James E Wilson Date: Fri, 23 Jul 2004 19:44:59 +0000 Subject: [PATCH] Fix problem with addressing function descriptors. PR target/16559 * ia64.c (ia64_expand_load_address): For CONST, replace gen_load_symptr call with recursive call. From-SVN: r85094 --- gcc/ChangeLog | 6 ++++++ gcc/config/ia64/ia64.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23d290fe2e46..41a943cbe077 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-07-23 James E Wilson + + PR target/16559 + * ia64.c (ia64_expand_load_address): For CONST, replace + gen_load_symptr call with recursive call. + 2004-07-17 Eric Botcazou Backport from mainline: diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 77b2ed7ba7dc..b90ca308e10e 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -1086,8 +1086,7 @@ ia64_expand_load_address (dest, src, scratch) if (! scratch) scratch = no_new_pseudos ? subtarget : gen_reg_rtx (DImode); - emit_insn (gen_load_symptr (subtarget, plus_constant (sym, hi), - scratch)); + ia64_expand_load_address (subtarget, plus_constant (sym, hi), scratch); emit_insn (gen_adddi3 (temp, subtarget, GEN_INT (lo))); } else -- 2.47.2