[RS6000] Remove -mpcrel from tests

Segher Boessenkool segher@kernel.crashing.org
Mon Oct 26 18:37:12 GMT 2020


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.
> 
> 	* gcc.target/powerpc/localentry-1.c: Remove -mpcrel from options.
> 	* gcc.target/powerpc/notoc-direct-1.c: Likewise.
> 	* gcc.target/powerpc/pr94740.c: Likewise.

Okay for trunk.  Thanks!


Segher


More information about the Gcc-patches mailing list