aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2006-02-18 21:04:57 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2006-02-18 13:04:57 -0800
commitc8ca29f104d4e1294ecd13288d2e02b5f5e29e42 (patch)
tree23383bfb7baddb8debbd3feb4eb3f54545cfaf65 /gcc
parentfaf7c6784ec03e856d8c8b54d3c9173eb1a0ce2a (diff)
downloadgcc-c8ca29f104d4e1294ecd13288d2e02b5f5e29e42.zip
gcc-c8ca29f104d4e1294ecd13288d2e02b5f5e29e42.tar.gz
gcc-c8ca29f104d4e1294ecd13288d2e02b5f5e29e42.tar.bz2
20031106-1.c: Fix the final scan of the variable to take into account the variable name in...
2006-02-18 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/tree-ssa/20031106-1.c: Fix the final scan of the variable to take into account the variable name in the function header. * gcc.dg/tree-ssa/20031106-2.c: Likewise. From-SVN: r111250
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/20031106-1.c4
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/20031106-2.c4
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b0fc353..df5cb4c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2006-02-18 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * gcc.dg/tree-ssa/20031106-1.c: Fix the final scan of the
+ variable to take into account the variable name in the
+ function header.
+ * gcc.dg/tree-ssa/20031106-2.c: Likewise.
+
2006-02-18 Jakub Jelinek <jakub@redhat.com>
PR middle-end/26334
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/20031106-1.c b/gcc/testsuite/gcc.dg/tree-ssa/20031106-1.c
index 791e0f2..fea5aaf 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/20031106-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/20031106-1.c
@@ -13,8 +13,8 @@ void foo (int testarray[])
link_error ();
}
-/* There should be only one reference to "testarray". */
-/* { dg-final { scan-tree-dump-times "testarray" 1 "optimized" { xfail *-*-* } } } */
+/* There should be only one reference to "testarray" and one in the function header. */
+/* { dg-final { scan-tree-dump-times "testarray" 2 "optimized" } } */
/* There should be no link_error calls. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/20031106-2.c b/gcc/testsuite/gcc.dg/tree-ssa/20031106-2.c
index 2354c14..73dd4ff 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/20031106-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/20031106-2.c
@@ -20,8 +20,8 @@ void foo (struct s* teststruct)
link_error ();
}
-/* There should be only one reference to "teststruct". */
-/* { dg-final { scan-tree-dump-times "teststruct" 1 "optimized" { xfail *-*-* } } } */
+/* There should be only one reference to "teststruct" and one in the function header. */
+/* { dg-final { scan-tree-dump-times "teststruct" 2 "optimized" } } */
/* There should be no link_error calls. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */