diff mbox

Fix cunroll-1.c testcase

Message ID 20121111182632.GA31473@kam.mff.cuni.cz
State New
Headers show

Commit Message

Jan Hubicka Nov. 11, 2012, 6:26 p.m. UTC
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
diff mbox

Patch

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" } } */