[committed] testsuite: Fix up gcc.target/powerpc/pr93122.c test

Michael Meissner meissner@linux.ibm.com
Wed Feb 12 22:43:00 GMT 2020


On Wed, Feb 12, 2020 at 11:27:01PM +0100, Jakub Jelinek wrote:
> On Mon, Feb 10, 2020 at 01:45:42PM -0500, Michael Meissner wrote:
> > This patch renames the PowerPC internal switch -mprefixed-addr to be
> > -mprefixed.
> 
> --- gcc/config/rs6000/rs6000.opt
> +++ gcc/config/rs6000/rs6000.opt
> @@ -570,8 +570,8 @@ mfuture
>  Target Report Mask(FUTURE) Var(rs6000_isa_flags)
>  Use instructions for a future architecture.
>  
> -mprefixed-addr
> -Target Undocumented Mask(PREFIXED_ADDR) Var(rs6000_isa_flags)
> +mprefixed
> +Target Report Mask(PREFIXED) Var(rs6000_isa_flags)
>  Generate (do not generate) prefixed memory instructions.
>  
>  mpcrel
> 
> This change broke the gcc.target/powerpc/pr93122.c test, so it now
> FAIL: gcc.target/powerpc/pr93122.c (test for excess errors)
> Excess errors:
> xgcc: error: unrecognized command-line option '-mprefixed-addr'; did you mean '-mprefixed'?
> 
> Fixed thusly, bootstrapped/regtested on powerpc64le-linux, committed to
> trunk as obvious.

Thanks.  I don't think that test was in the trunk when I did the the bootstrap
for the -mprefixed-addr to -mprefixed option.  I was about to send a similar
patch.

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.ibm.com, phone: +1 (978) 899-4797



More information about the Gcc-patches mailing list