From: Andrew Pinski Date: Fri, 31 Oct 2025 05:57:25 +0000 (-0700) Subject: Fix pr122478.c testcase X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=127cd4064261868628b787a8abc3d9f9c8af14dc;p=thirdparty%2Fgcc.git Fix pr122478.c testcase 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 --- 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" } } */