PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr44546.c
blob517446fdc8fb0aecc60d3e9f152190371af5bc58
1 /* { dg-do compile } */
2 /* { dg-options "-Os -ffast-math -mfpmath=387" } */
4 typedef __SIZE_TYPE__ size_t;
5 typedef struct
7 float *ewgts;
8 } vtx_data;
10 extern void *zmalloc (size_t);
11 extern int whatever (vtx_data *);
13 float *
14 compute_apsp_artifical_weights_packed (vtx_data * graph, int n)
16 float *weights;
18 weights = (float *) zmalloc (n * sizeof (float));
19 weights[n] =
20 whatever (graph) > graph[n].ewgts[n] ?
21 whatever (graph) : graph[n].ewgts[n];