https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577

--- Comment #63 from EML <elowe at elowe dot com> ---
Sorry, I didn't undo the patch completely.

I made a very simple change:

--- ia64.c.orig 2019-07-08 14:43:33 +0000
+++ ia64.c      2019-07-05 16:46:24 +0000
@@ -1137,7 +1137,7 @@
     emit_insn (gen_load_fptr (dest, src));
   else if (sdata_symbolic_operand (src, VOIDmode))
     emit_insn (gen_load_gprel (dest, src));
-  else if (local_symbolic_operand64 (src, VOIDmode))
+  else if (local_symbolic_operand64 (src, VOIDmode) && !TARGET_HPUX)
     {
       /* We want to use @gprel rather than @ltoff relocations for local
         symbols:

Which I think has the same effect as disabling it in predicate. I'm happy with
either approach.

Reply via email to