]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-11.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fprofile-arcs -fprofile-update=single -fdump-tree-lim2-details" } */
3 /* { dg-require-profiling "-fprofile-generate" } */
12 void access_buf(struct thread_param
* p
)
15 long iterations
= p
->iterations
;
16 long accesses
= p
->accesses
;
17 for (i
=0; i
<iterations
; i
++)
20 for (j
=0; j
<accesses
; j
++)
25 /* { dg-final { scan-tree-dump-times "Executing store motion of __gcov0.access_buf\\\[\[12\]\\\] from loop 1" 2 "lim2" } } */