]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
asm-hard-reg-5.c: Compile for x86 !ia32
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 9 Aug 2025 21:54:06 +0000 (14:54 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 10 Aug 2025 13:02:54 +0000 (06:02 -0700)
Since i?86 and x86_64 GCC can generate codes for ia32, x32 and lp64,
compile asm-hard-reg-5.c for x86 !ia32.

PR testsuite/121205
* gcc.dg/asm-hard-reg-5.c: Compile for x86 !ia32.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
gcc/testsuite/gcc.dg/asm-hard-reg-5.c

index a9e25ce17460f7f4f511952d4e069ae2ae34d823..ea7907ae2a0e5057f7dfd859084e0fb1dd6b6890 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target aarch64*-*-* powerpc64*-*-* riscv64-*-* s390*-*-* x86_64-*-* } } */
+/* { dg-do compile { target { { aarch64*-*-* powerpc64*-*-* riscv64-*-* s390*-*-* } || { { i?86-*-* x86_64-*-* } && { ! ia32 } } } } } */
 
 typedef int V __attribute__ ((vector_size (4 * sizeof (int))));