Hello!

alpha defines MOVE_RATIO that doesn't fit these tests.

2015-02-09  Uros Bizjak  <ubiz...@gmail.com>

    * gcc.dg/tree-ssa/ssa-dom-cse-2.c: Xfail scan-tree-dump for alpha*-*-*.
    * gcc.dg/tree-ssa/pr42585.c: Xfail scan-tree-dump-times for alpha*-*-*.

Tested on alpha-linux-gnu and committed to mainline SVN.

Uros.
Index: gcc.dg/tree-ssa/pr42585.c
===================================================================
--- gcc.dg/tree-ssa/pr42585.c   (revision 220537)
+++ gcc.dg/tree-ssa/pr42585.c   (working copy)
@@ -35,6 +35,6 @@
 /* Whether the structs are totally scalarized or not depends on the
    MOVE_RATIO macro definition in the back end.  The scalarization will
    not take place when using small values for MOVE_RATIO.  */
-/* { dg-final { scan-tree-dump-times "struct _fat_ptr _ans" 0 "optimized" { 
target { ! "aarch64*-*-* arm*-*-* avr-*-* nds32*-*-* powerpc*-*-* s390*-*-* 
sh*-*-*" } } } } */
-/* { dg-final { scan-tree-dump-times "struct _fat_ptr _T2" 0 "optimized" { 
target { ! "aarch64*-*-* arm*-*-* avr-*-* nds32*-*-* powerpc*-*-* s390*-*-* 
sh*-*-*" } } } } */
+/* { dg-final { scan-tree-dump-times "struct _fat_ptr _ans" 0 "optimized" { 
target { ! "aarch64*-*-* alpha*-*-* arm*-*-* avr-*-* nds32*-*-* powerpc*-*-* 
s390*-*-* sh*-*-*" } } } } */
+/* { dg-final { scan-tree-dump-times "struct _fat_ptr _T2" 0 "optimized" { 
target { ! "aarch64*-*-* alpha*-*-* arm*-*-* avr-*-* nds32*-*-* powerpc*-*-* 
s390*-*-* sh*-*-*" } } } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
Index: gcc.dg/tree-ssa/ssa-dom-cse-2.c
===================================================================
--- gcc.dg/tree-ssa/ssa-dom-cse-2.c     (revision 220537)
+++ gcc.dg/tree-ssa/ssa-dom-cse-2.c     (working copy)
@@ -20,5 +20,5 @@
 /* See PR63679 and PR64159, if the target forces the initializer to memory then
    DOM is not able to perform this optimization.  */
 
-/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail hppa*-*-* 
powerpc*-*-* sparc*-*-* aarch64*-*-* } } } */
+/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail aarch64*-*-* 
alpha*-*-* hppa*-*-* powerpc*-*-* sparc*-*-* } } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */

Reply via email to