]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr88444.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr88444.c
CommitLineData
ccef6716
JJ
1/* PR tree-optimization/88444 */
2/* { dg-do compile } */
3/* { dg-options "-O1 -ftree-vrp -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre" } */
4
5int v;
6
7int
8foo (int, int);
9
10static inline int
11bar (long int x)
12{
13 return !!x ? x : 1;
14}
15
16static inline void
17baz (int x)
18{
19 v += foo (0, 0) + bar (x);
20}
21
22void
23qux (void)
24{
25 int a = 0;
26 v = v || foo (0, 0);
27 v = v || foo (0, 0);
28 v = v || foo (0, 0);
29 baz (a);
30}