mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 03:00:27 +08:00
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
This commit is contained in:
parent
faf7c6784e
commit
c8ca29f104
@ -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
|
||||
|
@ -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"} } */
|
||||
|
@ -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"} } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user