1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre-stats" } */
3 extern int printf (const char *, ...);
4 int foo(int argc
, char **argv
)
16 printf ("%d, %d\n", a
, b
+ c
);
18 /* We should eliminate one evaluation of b + c along the main path,
19 causing one reload. */
20 /* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre"} } */