]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
20031106-1.c: Fix the final scan of the variable to take into account the variable...
authorAndrew Pinski <pinskia@physics.uc.edu>
Sat, 18 Feb 2006 21:04:57 +0000 (21:04 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 18 Feb 2006 21:04:57 +0000 (13:04 -0800)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/20031106-1.c
gcc/testsuite/gcc.dg/tree-ssa/20031106-2.c

index b0fc3536f7d083d5fe7a937bbb0a36509faf816b..df5cb4c6c90e913cb333e30f5066dfb461e1bb4a 100644 (file)
@@ -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
index 791e0f21ee79686fb37cb5624b486eb9dc7d7e09..fea5aaf082c72b250f2160daac699e569d304e95 100644 (file)
@@ -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"} } */
index 2354c14b902c85b6a5df97f08ef0825fd61ed51e..73dd4ff2ec1f7f646b280e88bb6a20f61de5f0f9 100644 (file)
@@ -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"} } */