From: rsandifo Date: Mon, 13 Aug 2007 09:25:08 +0000 (+0000) Subject: gcc/testsuite/ X-Git-Tag: upstream/4.9.2~46994 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c0a0909cdd2a49097de9ce02208ceb224ab539d;p=platform%2Fupstream%2Flinaro-gcc.git 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127393 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f82d439..542ac1a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2007-08-13 Richard Sandiford + * 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 + * gcc.dg/attr-isr.c: Skip for PIC. * gcc.dg/attr-isr-nosave_low_regs.c: Likewise. * gcc.dg/attr-isr-trapa.c: Likewise. diff --git a/gcc/testsuite/gcc.dg/pr21255-4.c b/gcc/testsuite/gcc.dg/pr21255-4.c index 72a632c..c848c26 100644 --- a/gcc/testsuite/gcc.dg/pr21255-4.c +++ b/gcc/testsuite/gcc.dg/pr21255-4.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target "sh*-*-*" } } */ +/* { dg-do compile { target { sh*-*-* && nonpic } } } */ /* { dg-options "-O2 -fomit-frame-pointer" } */ double diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c index edbee00..af03f92 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c @@ -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-*-* } } } */