Re: [RS6000] Remove -mpcrel from tests

2020-10-26 Thread Segher Boessenkool
On Sun, Oct 25, 2020 at 09:52:40PM +1030, Alan Modra wrote: > When running with -m32 > FAIL: gcc.target/powerpc/pr94740.c (test for excess errors) > Excess errors: > cc1: error: '-mpcrel' requires '-mcmodel=medium' > > The others don't run for -m32, but remove the unnecessary -mpcrel > anyway. >

[RS6000] Remove -mpcrel from tests

2020-10-25 Thread Alan Modra via Gcc-patches
When running with -m32 FAIL: gcc.target/powerpc/pr94740.c (test for excess errors) Excess errors: cc1: error: '-mpcrel' requires '-mcmodel=medium' The others don't run for -m32, but remove the unnecessary -mpcrel anyway. * gcc.target/powerpc/localentry-1.c: Remove -mpcrel from options.