On Thu, Jan 15, 2026 at 12:05 PM Pengxuan Zheng
<[email protected]> wrote:
>
> This fixes failures on i686 and arm.

It does not exactly as you can compile with -m32 on x86_64.
So you might want to add:
/* { dg-additional-options "-msse2" { target x86_64-*-* } } */

Thanks,
Andrew

>
> Pushed to trunk as obvious.
>
> gcc/testsuite/ChangeLog:
>
>         * gcc.dg/pr123109.c: Require target x86_64 and aarch64.
>
> Signed-off-by: Pengxuan Zheng <[email protected]>
> ---
>  gcc/testsuite/gcc.dg/pr123109.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.dg/pr123109.c b/gcc/testsuite/gcc.dg/pr123109.c
> index 9b83d578713..0d51863ca40 100644
> --- a/gcc/testsuite/gcc.dg/pr123109.c
> +++ b/gcc/testsuite/gcc.dg/pr123109.c
> @@ -1,4 +1,4 @@
> -/* { dg-do compile } */
> +/* { dg-do compile { target { x86_64-*-* aarch64-*-* } } } */
>  /* { dg-options "-O2 -fdump-tree-optimized" } */
>
>  typedef int v4si __attribute__((vector_size(4 * sizeof(int))));
> --
> 2.34.1
>

Reply via email to