OSDN Git Service

* gcc.dg/intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets.
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Aug 2005 15:51:39 +0000 (15:51 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Aug 2005 15:51:39 +0000 (15:51 +0000)
* 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

index 87d9491..944dd74 100644 (file)
@@ -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*-*-* } } } */