On Tue, 19 Oct 2021 at 13:32, Richard Sandiford
<richard.sandif...@arm.com> wrote:
>
> 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.
Thanks, committed as 6b4c18b98127087d7f14062b81bc678f0589cd36.

Thanks,
Prathamesh
>
> 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;
> >

Reply via email to