This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

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


> rebootstrapping with
> tree-checking enabled to make sure I get the other one right.

Well, the other one is also right: we don't use the exact same types
as before, but everything is compatible (the testcase works, I
manually checked the generated code and a type-checking compiler
doesn't complain). I have thus adjusted the testcase:


2008-05-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        * gfortran.dg/char_cast_2.f90: Adjust count in scanning the tree
        dump file.


Index: gfortran.dg/char_cast_2.f90
===================================================================
--- gfortran.dg/char_cast_2.f90 (revision 135513)
+++ gfortran.dg/char_cast_2.f90 (working copy)
@@ -19,8 +19,8 @@ contains
     return
   end function Up
 end
-! The sign that all is well is that [S.5][1] appears five times.
+! 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]
 ! so we count the occurrences of 5][1].
-! { dg-final { scan-tree-dump-times "5\\\]\\\[1\\\]" 5 "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]