]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/i386: Correct pr111822.C dg-do options [PR111822]
authorUros Bizjak <ubizjak@gmail.com>
Tue, 19 Mar 2024 15:57:50 +0000 (16:57 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Tue, 19 Mar 2024 15:59:52 +0000 (16:59 +0100)
PR target/111822

gcc/testsuite/ChangeLog:

* g++.target/i386/pr111822.C (dg-do): Compile only for ia32 targets.
(dg-options): Add -march=x86-64.

gcc/testsuite/g++.target/i386/pr111822.C

index d405387b23cfa6bd1096265b41d37c87841b30f9..0829c91f2701c79161358ed9e6e9340498c88e72 100644 (file)
@@ -1,6 +1,6 @@
 /* PR target/111822 */
-/* { dg-do compile } */
-/* { dg-options "-O2 -flive-range-shrinkage -fno-dce -fnon-call-exceptions" } */
+/* { dg-do compile { target ia32 } } */
+/* { dg-options "-O2 -flive-range-shrinkage -fno-dce -fnon-call-exceptions -march=x86-64" } */
 
 typedef union {
   int *pNativeClosure;