]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Limit dump check of copy-prop-aggregate-return-1.c to x86_64 and aarch64
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Sat, 14 Feb 2026 04:02:55 +0000 (20:02 -0800)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Sat, 14 Feb 2026 04:14:09 +0000 (20:14 -0800)
This testcase fails on some targets so just limit to x86_64 (non-ia32) and aarch64
which are known to work here.

Pushed as obvious after testing.

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c: Limit check to x86_64
and aarch64.

Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c

index f402931a0ee1a95f1b171707ea2f2726f786ae80..04ea242cb5293683c8c2e27a0eedd17e6db2ebba 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O1 -fdump-tree-forwprop1-details" } */
+/* { dg-options "-O1 -fdump-tree-forwprop1-details"  } */
 
 struct s1
 {
@@ -19,4 +19,4 @@ struct s1 g()
   return f();
 }
 
-/* { dg-final { scan-tree-dump-times "after previous" 1 "forwprop1"} } */
+/* { dg-final { scan-tree-dump-times "after previous" 1 "forwprop1" { target { { x86_64_*-*-* i?86-*-* } && !ia32 } ||  { aarch64*-*-* } } } } */