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 <[email protected]>
---
 gcc/testsuite/gcc.dg/tree-ssa/pr122478.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr122478.c 
b/gcc/testsuite/gcc.dg/tree-ssa/pr122478.c
index bc63f71274a..a39c91bc2a9 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr122478.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr122478.c
@@ -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" } } */
-- 
2.43.0

Reply via email to