pr21255-4.c: Skip for PIC.

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
This commit is contained in:
Richard Sandiford 2007-08-13 09:25:08 +00:00 committed by Richard Sandiford
parent 5cc6957248
commit 89a9533c51
3 changed files with 7 additions and 2 deletions

View 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.

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target "sh*-*-*" } } */
/* { dg-do compile { target { sh*-*-* && nonpic } } } */
/* { dg-options "-O2 -fomit-frame-pointer" } */
double

View 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-*-* } } } */