1 /* { dg-options "-O3 -fdump-tree-lsplit-details-blocks -fdump-tree-optimized-details-blocks" } */
7 __attribute__ ((noinline
,noipa
))
12 __attribute__ ((noinline
,noipa
))
17 __attribute__ ((noinline
,noipa
))
20 if (n
<= 0 || n
> 100000)
22 for (int i
= 0; i
<= n
; i
++)
33 for (int i
= 0 ; i
< 1000; i
+=3)
35 for (int i
= 0 ; i
< 1000; i
++)
39 /* { dg-final-use-not-autofdo { scan-tree-dump-times "Loop split" 1 "lsplit" } } */
40 /* { dg-final-use-not-autofdo { scan-tree-dump-times "Invalid sum" 0 "lsplit" } } */
41 /* { dg-final-use-not-autofdo { scan-tree-dump-times "Invalid sum" 0 "optimized" } } */