Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr92263.c
bloba79dfd1e351012f6cc6c614d2e916ed03ff2791b
1 /* { dg-do compile } */
2 /* { dg-options "-fno-tree-dce -fno-tree-forwprop -Os -ffloat-store" } */
4 extern long double cabsl (_Complex long double);
6 typedef struct {
7 int nsant, nvqd;
8 _Complex long double *vqd;
9 } vsorc_t;
10 vsorc_t vsorc;
12 void foo(int next_job, int ain_num, int iped, long t) {
13 long double zpnorm;
15 while (!next_job)
16 if (ain_num)
18 if (iped == 1)
19 zpnorm = 0.0;
20 int indx = vsorc.nvqd-1;
21 vsorc.vqd[indx] = t*1.0fj;
22 if (cabsl(vsorc.vqd[indx]) < 1.e-20)
23 vsorc.vqd[indx] = 0.0fj;
24 zpnorm = t;
25 if (zpnorm > 0.0)
26 iped = vsorc.nsant;