[fortran,committed] Adjust pattern count in gfortran.dg/char_cast_1.f90
FX
fxcoudert@gmail.com
Mon May 19 13:51:00 GMT 2008
Hi,
I'm investigating the two failures (gfortran.dg/char_cast_1.f90 and
gfortran.dg/char_cast_2.f90) introduced by my patch. I first thought
both were simple a matter of adjusting counts in the tree dump
scanning pattern (because temporary variables have changed name, due
to slightly different code generation), but it turns out only
gfortran.dg/char_cast_2.f90 is trivially of this type. So, I've
committed the fix for that one, and am rebootstrapping with
tree-checking enabled to make sure I get the other one right.
FX
2008-05-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* gfortran.dg/char_cast_1.f90: Adjust count in scanning the tree
dump file.
Index: gfortran.dg/char_cast_1.f90
===================================================================
--- gfortran.dg/char_cast_1.f90 (revision 135513)
+++ gfortran.dg/char_cast_1.f90 (working copy)
@@ -27,6 +27,5 @@
end
! The sign that all is well is that [S.5][1] appears twice.
! Platform dependent variations are [S$5][1], [__S_5][1], [S___5][1]
-! With this regular expression we also find [S.15][1], so count is 3.
-! { dg-final { scan-tree-dump-times "5\\\]\\\[1\\\]" 3 "original" } }
+! { dg-final { scan-tree-dump-times "5\\\]\\\[1\\\]" 2 "original" } }
! { dg-final { cleanup-tree-dump "original" } }
--
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/
More information about the Gcc-patches
mailing list