1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre-stats" } */
3 unsigned foo1 (unsigned a
, unsigned b
)
6 for (i
= 0; i
!= a
; i
++)
13 /* We should eliminate both 4*b and 4*a from the main body of the loop */
14 /* { dg-final { scan-tree-dump-times "Eliminated: 2" 1 "pre"} } */
15 /* { dg-final { cleanup-tree-dump "pre" } } */