From 45343b92cc40d960ca6b8a53e5805c97b795542b Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sat, 25 Sep 2004 20:53:44 +0000 Subject: [PATCH] loop-2.c: Avoid matching new-line in regexp. * gcc.dg/tree-ssa/loop-2.c: Avoid matching new-line in regexp. * gcc.dg/tree-ssa/loop-4.c: Likewise. From-SVN: r88110 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/tree-ssa/loop-2.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/loop-4.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b2db1410711..2dff62bb8c9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-25 Ulrich Weigand + + * gcc.dg/tree-ssa/loop-2.c: Avoid matching new-line in regexp. + * gcc.dg/tree-ssa/loop-4.c: Likewise. + 2004-09-25 Tobias Schlueter * gfortran.dg/pr15324.f90: Make array bounds consistent. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c index 41f42215b85..2bb04105a12 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c @@ -23,7 +23,7 @@ void xxx(void) /* Access to arr_base[iter].y should be strength reduced. */ -/* { dg-final { scan-tree-dump-times "arr_base.*=" 0 "vars" } } */ +/* { dg-final { scan-tree-dump-times "arr_base\[^\\n\\r\]*=" 0 "vars" } } */ /* 17 * iter should be strength reduced. */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c index 2d3ca62422e..a1dabfd9bcb 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c @@ -25,7 +25,7 @@ void xxx(void) /* Access to arr_base[iter].y should be strength reduced. */ -/* { dg-final { scan-tree-dump-times "arr_base.*=" 0 "vars" } } */ +/* { dg-final { scan-tree-dump-times "arr_base\[^\\n\\r\]*=" 0 "vars" } } */ /* And the original induction variable should be eliminated. */ -- 2.30.2