I've committed the attached patch to fix two failures of tree-ssa tests on SH. Tested on sh4-unknown-linux-gnu and i686-pc-linux-gnu.
Regards, kaz -- 2015-02-19 Kaz Kojima <kkoj...@gcc.gnu.org> * gcc.dg/tree-ssa/20040204-1.c: Don't XFAIL on sh*-*-*. * gcc.dg/tree-ssa/sra-12.c: Skip for sh*-*-*. diff --git a/gcc.dg/tree-ssa/20040204-1.c b/gcc.dg/tree-ssa/20040204-1.c index 42f6a4c..77a0c12 100644 --- a/gcc.dg/tree-ssa/20040204-1.c +++ b/gcc.dg/tree-ssa/20040204-1.c @@ -33,5 +33,5 @@ void test55 (int x, int y) that the && should be emitted (based on BRANCH_COST). Fix this by teaching dom to look through && and register all components as true. */ -/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail { ! "alpha*-*-* arm*-*-* aarch64*-*-* powerpc*-*-* cris-*-* crisv32-*-* hppa*-*-* i?86-*-* mmix-*-* mips*-*-* m68k*-*-* moxie-*-* nds32*-*-* sparc*-*-* spu-*-* visium-*-* x86_64-*-*" } } } } */ +/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail { ! "alpha*-*-* arm*-*-* aarch64*-*-* powerpc*-*-* cris-*-* crisv32-*-* hppa*-*-* i?86-*-* mmix-*-* mips*-*-* m68k*-*-* moxie-*-* nds32*-*-* sh*-*-* sparc*-*-* spu-*-* visium-*-* x86_64-*-*" } } } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ diff --git a/gcc.dg/tree-ssa/sra-12.c b/gcc.dg/tree-ssa/sra-12.c index 45aa963..bb70a03 100644 --- a/gcc.dg/tree-ssa/sra-12.c +++ b/gcc.dg/tree-ssa/sra-12.c @@ -21,5 +21,5 @@ int foo (struct S *p) *p = l; } -/* { dg-final { scan-tree-dump-times "l;" 0 "release_ssa" { target { ! "aarch64*-*-* avr*-*-* nds32*-*-*" } } } } */ +/* { dg-final { scan-tree-dump-times "l;" 0 "release_ssa" { target { ! "aarch64*-*-* avr*-*-* nds32*-*-* sh*-*-*" } } } } */ /* { dg-final { cleanup-tree-dump "release_ssa" } } */