This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix PR target/83368


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]