Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr101031.c
blobdaf3bcf44eb0e607813e75d91cbb4a93d1a59531
1 /* { dg-do run } */
3 int a;
4 char b, e;
5 static char *c = &b;
6 static long d;
7 void f(void);
8 void __attribute__((noipa)) h() {
9 int g = 0;
10 for (; g < 2; ++g) {
11 d = *c;
12 *c = 1;
13 b = 0;
15 f();
17 void __attribute__((noipa)) f() {
18 if (d++)
19 c = &e;
20 for (; a;)
23 int main() {
24 h();
25 if (b != 0)
26 __builtin_abort ();
27 return 0;