From: James E Wilson Date: Fri, 23 Jul 2004 19:44:59 +0000 (+0000) Subject: Fix problem with addressing function descriptors. X-Git-Tag: releases/gcc-3.3.5~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c477c28e41bb5120d353e5d383d746ab50ae7021;p=thirdparty%2Fgcc.git 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 --- 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