re PR testsuite/35406 (gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 14 Mar 2008 14:17:41 +0000 (14:17 +0000)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 14 Mar 2008 14:17:41 +0000 (15:17 +0100)
PR testsuite/35406
* gcc.dg/tree-ssa/ldist-4.c: Update expected scan match
count from 0 to 1 for lp64 targets.
* gfortran.dg/ldist-1.f90: Update test to check
for 5 loops distributed instead of 4 for lp64 targets.

Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r133216

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-4.c
gcc/testsuite/gfortran.dg/ldist-1.f90

index 9b147a3fb4de9c42f9e22c59e89a21339874033f..113e37f47954bc3f7010bee27c0a7974646171d2 100644 (file)
@@ -7,16 +7,13 @@
        * gcc.dg/tree-ssa/ssa-store-ccp-4.c: Skip *-*-darwin*.
 
 2008-03-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+           Uros Bizjak  <ubizjak@gmail.com>
 
        PR testsuite/35406
        * gcc.dg/tree-ssa/ldist-4.c: Update expected scan match
-       count from 0 to 1.
-       
-2008-03-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
-
-       PR testsuite/35406
+       count from 0 to 1 for lp64 targets.
        * gfortran.dg/ldist-1.f90: Update test to check
-       for 5 loops distributed instead of 4.
+       for 5 loops distributed instead of 4 for lp64 targets.
 
 2008-03-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
index cb9451e260293e1402949317b9e48f6bd4888356..a744fea020a31ca8f395adc549180dca77b03da7 100644 (file)
@@ -24,5 +24,6 @@ int loop1 (int k)
    too much code in the outer loop, degrading performance of scalar
    code.  So this test was XFAILed because the cost model of the stand
    alone distribution pass has evolved.  Now it passes.  */
-/* { dg-final { scan-tree-dump-times "distributed: split to 2 loops" 1 "ldist" } } */
+/* { dg-final { scan-tree-dump-times "distributed: split to 2 loops" 0 "ldist" { target ilp32 } } } */
+/* { dg-final { scan-tree-dump-times "distributed: split to 2 loops" 1 "ldist" { target lp64 } } } */
 /* { dg-final { cleanup-tree-dump "ldist" } } */
index 08945a1267e68a508452cc7be9593c64b469d93d..a4771e9b5cf06b952b3d514e9e629dbf92cc49e3 100644 (file)
@@ -29,5 +29,6 @@ Subroutine PADEC(DKS,DKDS,HVAR,WM,WG,FN,NS,AN,BN,CN,IT)
   return
 end Subroutine PADEC
 
-! { dg-final { scan-tree-dump-times "distributed: split to 5 loops" 1 "ldist" } }
+! { dg-final { scan-tree-dump-times "distributed: split to 4 loops" 1 "ldist" { target ilp32 } } }
+! { dg-final { scan-tree-dump-times "distributed: split to 5 loops" 1 "ldist" { target lp64 } } }
 ! { dg-final { cleanup-tree-dump "ldist" } }