diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-19 16:51:34 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-19 16:51:34 +0000 |
commit | ca259e8d1b365591f9636023ec5e70645c4449ad (patch) | |
tree | c5925fd88d3f8c1eca8275bcab7f0094b995e7fa /gcc/testsuite/gcc.dg/tree-ssa/loop-1.c | |
parent | 5c0802aa340b5067b887248ffae6862f64f33fd1 (diff) | |
download | gcc-ca259e8d1b365591f9636023ec5e70645c4449ad.tar.gz |
* gcc.dg/tree-ssa/loop-1.c: Ignore declaration when
counting function calls on ia64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93904 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/loop-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/loop-1.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c index fa9670fa7f7..2efbbc73d8e 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c @@ -24,6 +24,13 @@ void xxx(void) /* { dg-final { scan-tree-dump-times "Added canonical iv to loop 1, 4 iterations" 1 "ivcanon"} } */ /* { dg-final { scan-tree-dump-times "Unrolled loop 1 completely" 1 "cunroll"} } */ /* { dg-final { scan-tree-dump-times "foo" 5 "vars"} } */ -/* { dg-final { if [ istarget hppa*-*-* ] { scan-assembler-times "foo,%r" 5} else { scan-assembler-times "foo" 5} } } */ + +/* Because hppa and ia64 targets include an external declaration for foo as + well as the calls we need to look for something more specific then just + foo in order to count only the calls and not the declaration. */ + +/* { dg-final { scan-assembler times "foo" 5 { xfail hppa-*-* ia64-*-* } } } */ +/* { dg-final { scan-assembler-times "foo,%r" 5 { target hppa*-*-* } } } */ +/* { dg-final { scan-assembler-times "= foo" 5 { target ia64*-*-* } } } */ |