]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix problem with addressing function descriptors.
authorJames E Wilson <wilson@specifixinc.com>
Fri, 23 Jul 2004 19:44:59 +0000 (19:44 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 23 Jul 2004 19:44:59 +0000 (12:44 -0700)
PR target/16559
* ia64.c (ia64_expand_load_address): For CONST, replace
gen_load_symptr call with recursive call.

From-SVN: r85094

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 23d290fe2e46b5ec9168a6d98ee15a77709d0bf7..41a943cbe07792717b52e2863e85e91c0e3662e8 100644 (file)
@@ -1,3 +1,9 @@
+2004-07-23  James E Wilson  <wilson@specifixinc.com>
+
+       PR target/16559
+       * ia64.c (ia64_expand_load_address): For CONST, replace
+       gen_load_symptr call with recursive call.
+
 2004-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        Backport from mainline:
index 77b2ed7ba7dc5fffcfaf07f2f5ee6bed6466108e..b90ca308e10e46ada46dd2262ac751666b95de9b 100644 (file)
@@ -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