This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[fortran,committed] Adjust pattern count in gfortran.dg/char_cast_1.f90
- From: FX <fxcoudert at gmail dot com>
- To: "Fortran List" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 19 May 2008 12:01:47 +0100
- Subject: [fortran,committed] Adjust pattern count in gfortran.dg/char_cast_1.f90
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=GdJlagp+axOJSdvtjLIzkF4ofx81aRdcJ17qCu70aYI=; b=L4E+2IzSIjIbMWmE1oW+QnEUscA00d/3zujtBfCsMobeufL4p6e/C6LwuFE7BoQe9TOnuc/eBQ8d0pE0o8mK2tSN9m+ka8tquIMN/sPpQnUQUfcHVmlYhdwRrac1dyrEFwLV3j3yGy6SE89OdhT4AgCXHxffkYAX77rV+SpU1XM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=I1Jp7II5GL+maNo3cFiVuG8gh0uxdK2gqUOCfCPFN8VpXz041vnzETA7ryZQ7c1lCE68XphUtUDmSauwSb+nS5R1Rtz+B8LGN+LiR1wqHDJHUfLgreIn7WBg8z4mlPcvCZzCqciHjAgm3ZLNa+DQ8fM2L693YpFZdnlYVZDbIy8=
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/