[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64

dave.anglin at bell dot net gcc-bugzilla@gcc.gnu.org
Mon Jul 8 19:37:00 GMT 2019


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

--- Comment #64 from dave.anglin at bell dot net ---
On 2019-07-08 2:51 p.m., elowe at elowe dot com wrote:
> 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.
Okay, I assume we are now at the problem in comment #58.  Would you upload the
final RTL
dump for "IsLower.c" ("-da" opttion will generate)?  It would also be useful to
find the change
which introduced the regression for "IsLower.c".

You could post the above patch with a ChangeLog to gcc-patches.  It's small
enough that a FSF
assignment shouldn't be needed.


More information about the Gcc-bugs mailing list