summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr45182.c
blob: ad27ff88651f47215753ebe05f17ac6489ade0e1 (plain)
1
2
3
4
5
6
7
8
9
10
typedef struct TypHeader {
  struct TypHeader ** ptr;
} *TypHandle;
void PlainRange (TypHandle hdList, long lenList, long low, long inc)
{
  long i;
  for (i = 1; i <= lenList; i++ )
    (((TypHandle*)((hdList)->ptr))[i] = (((TypHandle) (((long)(low + (i-1) *
inc) << 2) + 1))));
}