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-Tag: releases/gcc-4.0.0~4586 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45343b92cc40d960ca6b8a53e5805c97b795542b;p=thirdparty%2Fgcc.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 b2db1410711c..2dff62bb8c99 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 41f42215b857..2bb04105a12c 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 2d3ca62422ee..a1dabfd9bcbf 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. */