From 89c25874a8042002071b197af570be63f65f383c Mon Sep 17 00:00:00 2001 From: amylaar Date: Fri, 5 Aug 2005 15:51:39 +0000 Subject: [PATCH] * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102768 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/gcc.dg/tree-ssa/loop-1.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c index 87d94918f825..944dd74c1066 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*-*-* } } } */ -- 2.11.4.GIT