This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix cunroll-1.c testcase
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 11 Nov 2012 19:26:32 +0100
- Subject: Fix cunroll-1.c testcase
Hi,
the cunroll-1.c testcase has bogus count on number of unrollings needed. This is my mistake:
I originally introudced the testcase for cunroll pass where the number is different due
to loop header copying.
Regtested x86_64-linux, comitted.
Honza
Index: ChangeLog
===================================================================
--- ChangeLog (revision 193405)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2012-11-10 Jan Hubicka <jh@suse.cz>
+
+ * gcc.dg/tree-ssa/cunroll-1.c: Fix bogus testcase.
+
2012-11-10 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/pr55247.c: Require maybe_x32 target. Add
Index: gcc.dg/tree-ssa/cunroll-1.c
===================================================================
--- gcc.dg/tree-ssa/cunroll-1.c (revision 193405)
+++ gcc.dg/tree-ssa/cunroll-1.c (working copy)
@@ -8,6 +8,6 @@ test(int c)
a[i]=5;
}
/* Array bounds says the loop will not roll much. */
-/* { dg-final { scan-tree-dump "Unrolled loop 1 completely .duplicated 1 times.." "cunrolli"} } */
+/* { dg-final { scan-tree-dump "Unrolled loop 1 completely .duplicated 2 times.." "cunrolli"} } */
/* { dg-final { scan-tree-dump "Last iteration exit edge was proved true." "cunrolli"} } */
/* { dg-final { cleanup-tree-dump "cunrolli" } } */