builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr43864-4.c
blob3c6cc50c5b82ccf2db5c81119d20d5ff22414372
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
4 /* Different stmt order. */
6 int f(int c, int b, int d)
8 int r, r2, e;
10 if (c)
12 r = b + d;
13 r2 = d - b;
15 else
17 r2 = d - b;
18 e = d + b;
19 r = e;
22 return r - r2;
25 /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */
26 /* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */
27 /* { dg-final { scan-tree-dump-times "(?n)_.*-.*_" 2 "pre"} } */
28 /* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */