Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr43864-3.c
blob24b59a14b96420052003e8f7fe87484499ee9102
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
4 /* Commutative case. */
6 int f(int c, int b, int d)
8 int r, e;
10 if (c)
11 r = b + d;
12 else
14 e = d + b;
15 r = e;
18 return r;
21 /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */
22 /* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */
23 /* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */