diff options
author | Joern Rennecke <amylaar@gcc.gnu.org> | 2005-08-05 16:51:39 +0100 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2005-08-05 16:51:39 +0100 |
commit | 00e0b74757859bd5d7a0f1f58dc066c8150a2292 (patch) | |
tree | ad8c524802308aea30416c212d22c2f02bd9aa99 /gcc | |
parent | 4c84c58eb9d3ec7fe186e764c016287c55a0cc7a (diff) | |
download | gcc-00e0b74757859bd5d7a0f1f58dc066c8150a2292.zip gcc-00e0b74757859bd5d7a0f1f58dc066c8150a2292.tar.gz gcc-00e0b74757859bd5d7a0f1f58dc066c8150a2292.tar.bz2 |
intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets.
* gcc.dg/intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets.
* gcc.dg/tree-ssa/loop-1.c: FOr sh*-*-*, look for function calls
instead of constant loads / pool entries.
From-SVN: r102768
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/loop-1.c | 6 |
1 files changed, 5 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 87d9491..944dd74 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c @@ -31,9 +31,13 @@ void xxx(void) /* 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. */ +/* The SH targets always use separate instructions to load the address + and to do the actual call - bsr is only generated by link time + relaxation. */ -/* { dg-final { scan-assembler-times "foo" 5 { xfail hppa*-*-* ia64*-*-* } } } */ +/* { dg-final { scan-assembler-times "foo" 5 { xfail hppa*-*-* ia64*-*-* sh*-*-* } } } */ /* { dg-final { scan-assembler-times "foo,%r" 5 { target hppa*-*-* } } } */ /* { dg-final { scan-assembler-times "= foo" 5 { target ia64*-*-* } } } */ +/* { dg-final { scan-assembler-times "jsr|blink\ttr?,r18" 5 { target sh*-*-* } } } */ |