Re: [patch] Add dg-require-effective-target fpic to gcc.target/powerpc tests

2020-11-03 Thread Olivier Hainque
Hi Segher, > On 3 Nov 2020, at 18:00, Segher Boessenkool > wrote: > >> /* { dg-require-effective-target fpic } */ >> >> to a few tests in gcc.target/powerpc that do use >> -fpic or -fPIC but don't currently query the target >> support. > This is fine for trunk, thanks! Great :-) >> --- a/gc

Re: [patch] Add dg-require-effective-target fpic to gcc.target/powerpc tests

2020-11-03 Thread Segher Boessenkool
Hi! On Tue, Nov 03, 2020 at 10:12:54AM +0100, Olivier Hainque wrote: > This change is a proposal to add > > /* { dg-require-effective-target fpic } */ > > to a few tests in gcc.target/powerpc that do use > -fpic or -fPIC but don't currently query the target > support. > > This corresponds to

[patch] Add dg-require-effective-target fpic to gcc.target/powerpc tests

2020-11-03 Thread Olivier Hainque
Hello, This change is a proposal to add /* { dg-require-effective-target fpic } */ to a few tests in gcc.target/powerpc that do use -fpic or -fPIC but don't currently query the target support. This corresponds to what many other fpic tests do and helps the vxWorks ports at least, as -fpic is