1  /* PR target/23268 */
       2  /* Testcase reduced by Andrew Pinski */
       3  /* { dg-do compile } */
       4  /* { dg-options "-O1 -ffast-math" } */
       5  
       6  int
       7  f (float x)
       8  {
       9    int a, b;
      10    a = __builtin_log (2.f);
      11    b = __builtin_lrint (x);
      12    return (a + b);
      13  }