aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr89677.c
blob: a45ca1f61a11594607b0f16185e9df9e4c89a8e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-require-effective-target int32plus } */

int a, b, d;
unsigned c;
float e, f, g;
void h() {
    float *i = &g;
    for (; c < 10; c += 3)
      for (; d; d += 3) {
	  a = *i;
	  g = f + 0;
	  f = b + *i + (b - e + 305219) + -b + 3;
      }
}