Fix PR target/83368

Eric Botcazou ebotcazou@adacore.com
Wed Jan 31 10:33:00 GMT 2018


> 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



More information about the Gcc-patches mailing list