This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[fortran,committed] Adjust pattern count in gfortran.dg/char_cast_1.f90


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]