aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20140110-1.c
blob: c1bd7990e04d79952c8932fdec9d518e58a4485a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
typedef long unsigned int size_t;
struct RangeMapRange {
  unsigned fromMin;
  unsigned fromMax;
  unsigned toMin;
};
void reserve1(void);
void f(struct RangeMapRange *q1, size_t t)
{
  const struct RangeMapRange *q2 = q1 + t;
  size_t n = q2 - q1;
  if (n > 0)
    reserve1();
}