aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr98094.c
blob: f88534a16917864d36ef40100060fe7ef981ca46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* PR tree-optimization/98084 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

struct
{
  unsigned a : 10;
} b;

int c;
void e();
void d ()
{
  c = b.a;
  if (c == 8 || c == 0)
    ;
  else if (c > 8 * 8)
    ;
  else if (c < 8 * 8)
    e ();
}