1  /* { dg-do compile } */
       2  /* { dg-options "-Os -ffast-math -mfpmath=387" } */
       3  
       4  typedef __SIZE_TYPE__ size_t;
       5  typedef struct
       6  {
       7    float *ewgts;
       8  } vtx_data;
       9  
      10  extern void *zmalloc (size_t);
      11  extern int whatever (vtx_data *);
      12  
      13  float *
      14  compute_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  }