From: Joern Rennecke Date: Fri, 5 Aug 2005 15:51:39 +0000 (+0100) Subject: intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00e0b74757859bd5d7a0f1f58dc066c8150a2292;p=gcc.git 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 --- diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c index 87d94918f82..944dd74c106 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*-*-* } } } */