diff options
author | H.J. Lu <(no_default)> | 2024-01-23 06:34:43 -0800 |
---|---|---|
committer | H.J. Lu <(no_default)> | 2024-01-23 06:34:43 -0800 |
commit | 3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec (patch) | |
tree | 5e6875a420faac8e77c8386ab915c39728a732d5 /gcc | |
parent | 2bdf138a0d0141065fa9a8efa2ff86f211888a59 (diff) | |
download | gcc-3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec.zip gcc-3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec.tar.gz gcc-3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec.tar.bz2 |
gcc.dg/torture/pr113255.c: Fix ia32 test failure
Fix ia32 test failure:
FAIL: gcc.dg/torture/pr113255.c -O1 (test for excess errors)
Excess errors:
cc1: error: '-mstringop-strategy=rep_8byte' not supported for 32-bit code
PR rtl-optimization/113255
* gcc.dg/torture/pr113255.c (dg-additional-options): Add only
if not ia32.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr113255.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/torture/pr113255.c b/gcc/testsuite/gcc.dg/torture/pr113255.c index 2f00952..78af6a5 100644 --- a/gcc/testsuite/gcc.dg/torture/pr113255.c +++ b/gcc/testsuite/gcc.dg/torture/pr113255.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-additional-options "-mtune=k8 -mstringop-strategy=rep_8byte" { target { x86_64-*-* i?86-*-* } } } */ +/* { dg-additional-options "-mtune=k8 -mstringop-strategy=rep_8byte" { target { { i?86-*-* x86_64-*-* } && { ! ia32 } } } } */ struct S { unsigned a[10]; unsigned y; unsigned b[6]; } g[2]; |