This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]