On Tue, May 12, 2026 at 2:37 AM H.J. Lu <[email protected]> wrote:
>
> On Tue, May 12, 2026 at 4:57 PM Naveen
> <[email protected]> wrote:
> >
> > The test includes <arm_neon.h> which is only available on AArch64.
> > Add a target selector to prevent spurious compile failures on non-AArch64
> > configurations.
> >
> > gcc/testsuite/ChangeLog:
> > * gcc.dg/pr123286.c: Restrict dg-do compile to aarch64*-*-* targets.
> >
> > Signed-off-by: Naveen <[email protected]>
> > ---
> > gcc/testsuite/gcc.dg/pr123286.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/gcc/testsuite/gcc.dg/pr123286.c
> > b/gcc/testsuite/gcc.dg/pr123286.c
> > index d6689aa91d4..17d3e0175b3 100644
> > --- a/gcc/testsuite/gcc.dg/pr123286.c
> > +++ b/gcc/testsuite/gcc.dg/pr123286.c
> > @@ -1,5 +1,5 @@
> > /* PR middle-end/123286 */
> > -/* { dg-do compile } */
> > +/* { dg-do compile { target aarch64*-*-* } } */
>
> Why not move it to testsuite/gcc.target/aarch64?
Yes let's move it to testsuite/gcc.target/aarch64 instead.
Thanks,
Andrea
>
> > /* { dg-additional-options "-O2 -fdump-tree-optimized" } */
> >
> > #include <arm_neon.h>
> > --
> > 2.34.1
> >
>
>
> --
> H.J.