]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix pr122478.c testcase
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Fri, 31 Oct 2025 05:57:25 +0000 (22:57 -0700)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Fri, 31 Oct 2025 05:58:57 +0000 (22:58 -0700)
The problem here is the dump file and the number of times the match
should happen is swapped.

Pushed as obvious.

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/pr122478.c: Swap `1` and `"optimized"`.

Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/gcc.dg/tree-ssa/pr122478.c

index bc63f71274a90c53b50711c55a35fe5488965b42..a39c91bc2a9d30c2c2078b1d1ea967777d0d0fbf 100644 (file)
@@ -14,4 +14,4 @@ __BB(2):
   return _180;
 }
 
-/* { dg-final { scan-tree-dump-times "VIEW_CONVERT_EXPR" "optimized" 1 } } */
+/* { dg-final { scan-tree-dump-times "VIEW_CONVERT_EXPR" 1 "optimized" } } */