1  /* PR debug/42604 */
       2  /* { dg-do compile } */
       3  /* { dg-additional-options "-O3 -g -ffast-math" } */
       4  
       5  unsigned *d;
       6  unsigned short e;
       7  int f;
       8  float h[3][4];
       9  
      10  void
      11  test (unsigned short *b)
      12  {
      13    int a, c, i;
      14    float g[3];
      15    unsigned j[32] = { 10, 0x63707274 };
      16    for (i = 0; i < (int) j[0]; i++)
      17      {
      18        j[i * 3 + 2] = d[0];
      19        d[0] += (j[i * 3 + 3] + 3) & -4;
      20      }
      21    for (a = 0; a < e; a++)
      22      {
      23        g[0] = g[1] = g[2] = 0;
      24        for (c = 0; c < f; c++)
      25  	{
      26  	  g[0] += h[0][c] * b[c];
      27  	  g[1] += h[1][c] * b[c];
      28  	}
      29        for (c = 0; c < 3; c++)
      30  	b[c] = 0 > ((int) g[c] < 65535 ? ((int) g[c]) : 65535)
      31  	  ? 0 : ((int) g[c]) < 65535 ? (int) g[c] : 65535;
      32      }
      33  }
      34