From: Ulrich Weigand Date: Sat, 25 Sep 2004 20:53:44 +0000 (+0000) Subject: loop-2.c: Avoid matching new-line in regexp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45343b92cc40d960ca6b8a53e5805c97b795542b;p=gcc.git 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 --- 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. */