1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fassociative-math -fsignaling-nans -fvar-tracking  -w" } */
       3  
       4  int
       5  bar (float *x, int y)
       6  {
       7    *x = y;
       8  
       9    return *x;
      10  }
      11  
      12  __attribute__ ((optimize ("O2"))) void
      13  foo (float *x, int y)
      14  {
      15    int a = bar (x, y);
      16  }