pr21255-4.c: Skip for PIC.
authorRichard Sandiford <richard@codesourcery.com>
Mon, 13 Aug 2007 09:25:08 +0000 (09:25 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 13 Aug 2007 09:25:08 +0000 (09:25 +0000)
gcc/testsuite/
* gcc.dg/pr21255-4.c: Skip for PIC.
* gcc.dg/tree-ssa/loop-1.c: Allow bsrf as well as jsr for SH targets.

From-SVN: r127393

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr21255-4.c
gcc/testsuite/gcc.dg/tree-ssa/loop-1.c

index f82d439d409350dad2587c601239c676080637c3..542ac1a4abb19bb10fed8363065f31ca97e15382 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-13  Richard Sandiford  <richard@codesourcery.com>
+
+       * gcc.dg/pr21255-4.c: Skip for PIC.
+       * gcc.dg/tree-ssa/loop-1.c: Allow bsrf as well as jsr for SH targets.
+
 2007-08-13  Richard Sandiford  <richard@codesourcery.com>
 
        * gcc.dg/attr-isr.c: Skip for PIC.
index 72a632c9dc5b8d5f58ed933d80059d0ea3565acc..c848c26c0e76972030fae42564582bf028842977 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target "sh*-*-*" } } */
+/* { dg-do compile { target { sh*-*-* && nonpic } } } */
 /* { dg-options "-O2 -fomit-frame-pointer" } */
 
 double
index edbee004af66a2b2159afccc778ee3da6763151b..af03f9244b94840aae140c237e059e8bf1a390a7 100644 (file)
@@ -42,6 +42,6 @@ void xxx(void)
 /* { dg-final { scan-assembler-times "foo" 5 { xfail hppa*-*-* ia64*-*-* sh*-*-* cris-*-* fido-*-* m68k-*-* } } } */
 /* { 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*-*-* } } } */
+/* { dg-final { scan-assembler-times "jsr|bsrf|blink\ttr?,r18"  5 { target sh*-*-* } } } */
 /* { dg-final { scan-assembler-times "Jsr \\\$r" 5 { target cris-*-* } } } */
 /* { dg-final { scan-assembler-times "\[jb\]sr" 5 { target fido-*-* m68k-*-* } } } */