From c539732f969e784725ca51dd9ff66b32a2c198cd Mon Sep 17 00:00:00 2001 From: Jerry DeLisle Date: Fri, 14 Mar 2008 14:17:41 +0000 Subject: [PATCH] re PR testsuite/35406 (gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work) 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 From-SVN: r133216 --- gcc/testsuite/ChangeLog | 9 +++------ gcc/testsuite/gcc.dg/tree-ssa/ldist-4.c | 3 ++- gcc/testsuite/gfortran.dg/ldist-1.f90 | 3 ++- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b147a3fb4d..113e37f4795 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -7,16 +7,13 @@ * gcc.dg/tree-ssa/ssa-store-ccp-4.c: Skip *-*-darwin*. 2008-03-13 Jerry DeLisle + Uros Bizjak PR testsuite/35406 * gcc.dg/tree-ssa/ldist-4.c: Update expected scan match - count from 0 to 1. - -2008-03-13 Jerry DeLisle - - 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 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ldist-4.c b/gcc/testsuite/gcc.dg/tree-ssa/ldist-4.c index cb9451e2602..a744fea020a 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ldist-4.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ldist-4.c @@ -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" } } */ diff --git a/gcc/testsuite/gfortran.dg/ldist-1.f90 b/gcc/testsuite/gfortran.dg/ldist-1.f90 index 08945a1267e..a4771e9b5cf 100644 --- a/gcc/testsuite/gfortran.dg/ldist-1.f90 +++ b/gcc/testsuite/gfortran.dg/ldist-1.f90 @@ -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" } } -- 2.30.2