cunroll-4.c: Update; we now remove the loop at ivcanon time.

* gcc.dg/tree-ssa/cunroll-4.c: Update; we now remove the loop
	at ivcanon time.

From-SVN: r192822
This commit is contained in:
Jan Hubicka 2012-10-25 21:24:19 +02:00 committed by Jan Hubicka
parent 0f378cb5db
commit 2257bc1940
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2012-10-25 Jan Hubicka <jh@suse.cz>
* gcc.dg/tree-ssa/cunroll-4.c: Update; we now remove the loop
at ivcanon time.
2012-10-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53761

View file

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-cunroll-details" } */
/* { dg-options "-O3 -fdump-tree-ivcanon-details" } */
int a[1];
test(int c)
{
@ -16,6 +16,6 @@ test(int c)
/* We should do this as part of cunrolli, but our cost model do not take into account early exit
from the last iteration. */
/* { dg-final { scan-tree-dump "Turned loop 1 to non-loop; it never loops." "cunrolli"} } */
/* { dg-final { scan-tree-dump "Last iteration exit edge was proved true." "cunrolli"} } */
/* { dg-final { cleanup-tree-dump "cunroll" } } */
/* { dg-final { scan-tree-dump "Turned loop 1 to non-loop; it never loops." "ivcanon"} } */
/* { dg-final { scan-tree-dump "Last iteration exit edge was proved true." "ivcanon"} } */
/* { dg-final { cleanup-tree-dump "ivcanon" } } */