From d9c8a0238fc8f76e03c4dd0380eacc6cacec55c9 Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Sat, 27 Nov 2021 10:13:31 +0000 Subject: [PATCH] [Committed] Fix new ivopts-[89].c test cases for -m32. 2021-11-27 Roger Sayle gcc/testsuite/ChangeLog * gcc.dg/tree-ssa/ivopts-8.c: Fix new test case for -m32. * gcc.dg/tree-ssa/ivopts-9.c: Likewise. --- gcc/testsuite/gcc.dg/tree-ssa/ivopts-8.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/ivopts-9.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ivopts-8.c b/gcc/testsuite/gcc.dg/tree-ssa/ivopts-8.c index 9e89a036a06..b2556eaac0d 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ivopts-8.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ivopts-8.c @@ -11,4 +11,4 @@ foo (int* mem, char sz, int val) return 0; } -/* { dg-final { scan-tree-dump "inv_expr \[0-9\]: \\t\\(unsigned long\\) sz_\[0-9\]*\\(D\\) \\* 4 \\+ \\(unsigned long\\) mem_\[0-9\]*\\(D\\)" "ivopts" } } */ +/* { dg-final { scan-tree-dump "inv_expr \[0-9\]: \\t\\(unsigned (long|int)\\) sz_\[0-9\]*\\(D\\) \\* 4 \\+ \\(unsigned (long|int)\\) mem_\[0-9\]*\\(D\\)" "ivopts" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ivopts-9.c b/gcc/testsuite/gcc.dg/tree-ssa/ivopts-9.c index 22b4a12c2b6..d26d994f9bd 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ivopts-9.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ivopts-9.c @@ -11,4 +11,4 @@ foo (int* mem, unsigned char sz, int val) return 0; } -/* { dg-final { scan-tree-dump "inv_expr \[0-9\]: \\t\\(unsigned long\\) sz_\[0-9\]\\(D\\) \\* 4 \\+ \\(unsigned long\\) mem_\[0-9\]\\(D\\)" "ivopts" } } */ +/* { dg-final { scan-tree-dump "inv_expr \[0-9\]: \\t\\(unsigned (long|int)\\) sz_\[0-9\]\\(D\\) \\* 4 \\+ \\(unsigned (long|int)\\) mem_\[0-9\]\\(D\\)" "ivopts" } } */