From patchwork Sun Nov 11 18:26:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix cunroll-1.c testcase Date: Sun, 11 Nov 2012 08:26:32 -0000 From: Jan Hubicka X-Patchwork-Id: 198288 Message-Id: <20121111182632.GA31473@kam.mff.cuni.cz> To: gcc-patches@gcc.gnu.org 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 + + * gcc.dg/tree-ssa/cunroll-1.c: Fix bogus testcase. + 2012-11-10 H.J. Lu * 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" } } */