This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR target/83368
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Sandiford <richard dot sandiford at linaro dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 31 Jan 2018 11:24:46 +0100
- Subject: Re: Fix PR target/83368
- Authentication-results: sourceware.org; auth=none
- References: <9596295.9SGXmIeu7d@polaris> <87r2q65oi6.fsf@linaro.org>
> I think this caused:
>
> .././src/gcc/config/sparc/sparc.md: In function ‘rtx_def*
> gen_vxworks_load_got()’: .././src/gcc/config/sparc/sparc.md:1811:17: error:
> ‘global_offset_table_rtx’ was not declared in this scope operands[0] =
> global_offset_table_rtx;
>
> on sparc-wrs-vxworks. (Might already have been reported, sorry.)
No, I don't think so, thanks for doing it. The hunk:
* config/sparc/sparc.md (vxworks_load_got): Set the GOT register.
is an afterthought and a no-op, since GOT and PIC registers are the same.
Hunk reverted.
--
Eric Botcazou