aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr110753.c
blob: aa02487e2a7f4f451a16fc7b0e6df25f712b9fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do compile }
// { dg-options "-O2" }

int a, b, c;
static int d(long e, long f) { return f == 0 || e && f == 1 ?: f; }
int g(void) {static int t; return t;}
static void h(long e) {
  b = e - 1;
  a = d(b || d(e, 8), g());
}
int tt;
void i(void) {
  c = (__SIZE_TYPE__)&tt;
  h(c);
}