1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 unsigned int a, b, c, d;
5 extern int printf (const char *, ...);
10 /* We should be able to transform these into the same expression, and only have two additions. */
15 printf ("%d %d\n", e, f);
18 /* { dg-final { scan-tree-dump-times "b.._. \\\+ a.._." 1 "optimized" } } */
19 /* { dg-final { scan-tree-dump-times " \\\+ " 2 "optimized" } } */
20 /* { dg-final { cleanup-tree-dump "optimized" } } */