summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20070419-1.c
blob: ea23bf8bdc0c5d381b70c5b55a724043308a9d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR tree-optimization/31632 */

struct S
{
  long int l;
  void *m;
};

int
foo (struct S *x)
{
  unsigned long a;
  a = x->l;
  if (a <= ((void *) 0))
    x->m = 0;
  return 0;
}