Re: Fix PR target/83368

2018-01-31 Thread Eric Botcazou
> 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

Re: Fix PR target/83368

2018-01-31 Thread Richard Sandiford
Eric Botcazou writes: > This fixes a somewhat obscure interaction between alloca and setjmp/longjmp > in > PIC mode on the SPARC architecture. The problem is that the canonical PIC > register on SPARC (%l7) is call-saved like on other architectures but, unlike > on other architectures, not (a