summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr36172.c
blob: aaee377f5b4a2e716b093cd3f3889a0d7936f70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
int f(float * );
__SIZE_TYPE__ FcCharSetFreeze (int *fcs, int b)
{
  int i;
  int a = 0;
  for (i = 0; i < *fcs; i++)
  {
    float *leaf = (float *)fcs;
    int hash = f (leaf);
    if (hash)
      a = b;
    if (!a)
      return;
  }
  return (__SIZE_TYPE__) fcs;
}