]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/peel1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fno-tree-vectorize -fdump-tree-cunroll-details" } */
3 struct foo
{int b
; int a
[3];} foo
;
4 void add(struct foo
*a
,int l
)
10 /* { dg-final { scan-tree-dump "Loop 1 likely iterates at most 2 times." "cunroll"} } */
11 /* { dg-final { scan-tree-dump "Peeled loop 1, 3 times." "cunroll"} } */