aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2004-09-25 20:53:44 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-09-25 20:53:44 +0000
commit45343b92cc40d960ca6b8a53e5805c97b795542b (patch)
tree2a61aa1890f5be625f376e6429537b8f42a16e79 /gcc
parent9b2b6c0f33bd20edfc1356c7038ae1ae20467f89 (diff)
downloadgcc-45343b92cc40d960ca6b8a53e5805c97b795542b.zip
gcc-45343b92cc40d960ca6b8a53e5805c97b795542b.tar.gz
gcc-45343b92cc40d960ca6b8a53e5805c97b795542b.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/loop-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/loop-4.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b2db141..2dff62b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * 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 <tobias.schlueter@physik.uni-muenchen.de>
* 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 41f4221..2bb0410 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 2d3ca62..a1dabfd 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. */