https://gcc.gnu.org/g:127cd4064261868628b787a8abc3d9f9c8af14dc

commit r16-4906-g127cd4064261868628b787a8abc3d9f9c8af14dc
Author: Andrew Pinski <[email protected]>
Date:   Thu Oct 30 22:57:25 2025 -0700

    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 <[email protected]>

Diff:
---
 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 bc63f71274a9..a39c91bc2a9d 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" } } */

Reply via email to