1/* { dg-do compile } */
2/* { dg-options "-Os -ffast-math -mfpmath=387" } */
3
4typedef __SIZE_TYPE__ size_t;
5typedef struct
6{
7  float *ewgts;
8} vtx_data;
9
10extern void *zmalloc (size_t);
11extern int whatever (vtx_data *);
12
13float *
14compute_apsp_artifical_weights_packed (vtx_data * graph, int n)
15{
16  float *weights;
17
18  weights = (float *) zmalloc (n * sizeof (float));
19  weights[n] =
20    whatever (graph) > graph[n].ewgts[n] ?
21    whatever (graph) : graph[n].ewgts[n];
22}
23