This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch]: Fix PR testsuite/23239
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 14 Aug 2005 15:27:06 -0400 (EDT)
- Subject: [patch]: Fix PR testsuite/23239
This change fixes the failure of val-prof-5.c on hppa2.0w-hp-hpux11.11
and hppa64-hp-hpux11.11.
Ok?
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2005-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR testsuite/23239
* gcc.dg/tree-prof/val-prof-5.c: Fix scan-tree-dump regexp.
Index: gcc.dg/tree-prof/val-prof-5.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-prof/val-prof-5.c,v
retrieving revision 1.1
diff -u -3 -p -r1.1 val-prof-5.c
--- gcc.dg/tree-prof/val-prof-5.c 1 Aug 2005 09:51:17 -0000 1.1
+++ gcc.dg/tree-prof/val-prof-5.c 14 Aug 2005 19:04:17 -0000
@@ -11,7 +11,7 @@ main()
a[i]/=b;
return 0;
}
-/* { dg-final-use { scan-tree-dump "Div.mod by constant b..=997 transformation on insn" "tree_profile"} } */
+/* { dg-final-use { scan-tree-dump "Div.mod by constant b.*=997 transformation on insn" "tree_profile"} } */
/* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized"} } */
/* { dg-final-use { cleanup-tree-dump "optimized" } } */
/* { dg-final-use { cleanup-tree-dump "tree_profile" } } */