Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> writes: > Hi, > The attached patch removes "-mcpu=generic+sve" from dg-options, > because it conflicts > with -march=armv8.3-a+sve, and resulted in: > > cc1: warning: switch '-mcpu=generic+sve' conflicts with > '-march=armv8.3-a+sve' switch^M > FAIL: gcc.target/aarch64/sve/pr93183.c (test for excess errors) > Excess errors: > cc1: warning: switch '-mcpu=generic+sve' conflicts with > '-march=armv8.3-a+sve' switch > > Is the patch OK to commit ?
Yes, thanks. Richard > Thanks, > Prathamesh > > diff --git a/gcc/testsuite/gcc.target/aarch64/sve/pr93183.c > b/gcc/testsuite/gcc.target/aarch64/sve/pr93183.c > index 2f92224cecb..8d1ee418baf 100644 > --- a/gcc/testsuite/gcc.target/aarch64/sve/pr93183.c > +++ b/gcc/testsuite/gcc.target/aarch64/sve/pr93183.c > @@ -1,5 +1,5 @@ > /* { dg-do compile } */ > -/* { dg-options "-O3 -mcpu=generic+sve" } */ > +/* { dg-options "-O3" } */ > > typedef unsigned char uint8_t; >