libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr86479.c
blob7df63546c05af157c72a2c2ad0f27b7a5b0441df
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -floop-nest-optimize -fnon-call-exceptions -fno-guess-branch-probability -fno-tree-loop-im" } */
4 __INTPTR_TYPE__ uf;
6 void
7 m7 (__INTPTR_TYPE__ *aw, __INTPTR_TYPE__ ws)
9 __INTPTR_TYPE__ *e5 = &ws;
11 if (ws < 1)
13 int cq = 0;
15 while (cq < 1)
17 int *ng;
18 int *ud;
20 *e5 *= uf < 0;
22 for (*ng = 0; *ng < 2; ++*ng)
26 ws /= cq;
27 *aw *= ws;
29 for (*ud = 0; *ud < 2; ++*ud)
35 if (ws < 2)
36 e5 = &uf;
38 *e5 = 0;