[Patch,Fortran,committed] Fix tree-dump parsing for gfortran.dg/coarray_12.f90

Tobias Burnus burnus@net-b.de
Tue Apr 27 14:28:00 GMT 2010


As noted by H.J., the gfortran.dg/coarray_12.f90 test case was failing
on 32bit platforms. I have committed the patch below as obvious.

Tobias

Committed revision 158785.

2010-04-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/18918
        * gfortran.dg/coarray_12.f90: Fix dump parsing.

Index: gcc/testsuite/gfortran.dg/coarray_12.f90
===================================================================
--- gcc/testsuite/gfortran.dg/coarray_12.f90    (revision 158784)
+++ gcc/testsuite/gfortran.dg/coarray_12.f90    (working copy)
@@ -46,9 +46,9 @@


 ! { dg-final { scan-tree-dump-times "a.dim.0..lbound = 1;"     1
"original" } }
-! { dg-final { scan-tree-dump-times "a.dim.0..ubound = .* nn;" 1
"original" } }
+! { dg-final { scan-tree-dump-times "a.dim.0..ubound = .*nn;" 1
"original" } }
 ! { dg-final { scan-tree-dump-times "a.dim.1..lbound = 1;"     1
"original" } }
-! { dg-final { scan-tree-dump-times "a.dim.1..ubound = .* mm;" 1
"original" } }
+! { dg-final { scan-tree-dump-times "a.dim.1..ubound = .*mm;" 1
"original" } }
 ! { dg-final { scan-tree-dump-times "a.dim.2..lbound = 1;"     1
"original" } }
 ! { dg-final { scan-tree-dump-times "a.dim.2..ubound"          0
"original" } }



More information about the Gcc-patches mailing list