intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets.
authorJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 5 Aug 2005 15:51:39 +0000 (16:51 +0100)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 5 Aug 2005 15:51:39 +0000 (16:51 +0100)
* 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

gcc/testsuite/gcc.dg/tree-ssa/loop-1.c

index 87d94918f8254d2d80d4d331b10a3470c60638ab..944dd74c1066222ff1422b7de2e2acd97968d51b 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*-*-* } } } */