This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix vrp11.c testcase
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 14 Jan 2007 19:36:59 +0100
- Subject: Fix vrp11.c testcase
Hi,
this fix the second problem I introduced by early optimization merge.
In vrp11 I've incorrectly updated dump files while experimenting with
how to update the testcase so it passes because of pre-existing dump in
my testsuite directory.
I've tested it on i686 and comitted as obvious.
Honza
Index: ChangeLog
===================================================================
--- ChangeLog (revision 120777)
+++ ChangeLog (working copy)
@@ -1,5 +1,6 @@
2007-01-14 Jan Hubicka <jh@suse.cz>
+ * gcc.dg/tree-ssa/vrp11.c: Fix thinkos in my last patch.
* gcc.dg/always_inline3.c: Update for pre-inline tail recursion
elimination.
Index: gcc.dg/tree-ssa/vrp11.c
===================================================================
--- gcc.dg/tree-ssa/vrp11.c (revision 120777)
+++ gcc.dg/tree-ssa/vrp11.c (working copy)
@@ -1,7 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-vrp1 -fno-early-inlining" } */
-int
+inline int
bounce (int arg)
{
return arg;
@@ -22,5 +22,5 @@ foo (int k, int j, int z)
return j+1;
}
-/* { dg-final { scan-tree-dump-times "Folding predicate.*to 1" 1 "vrp2" } } */
+/* { dg-final { scan-tree-dump-times "Folding predicate.*to 1" 1 "vrp1" } } */
/* { dg-final { cleanup-tree-dump "vrp1" } } */