1  /* { dg-do compile } */
       2  /* { dg-options "-O1" } */
       3  
       4  #include <stdint.h>
       5  
       6  double
       7  f1 (uint16_t x)
       8  {
       9    return (double)(float)x;
      10  }
      11  
      12  float
      13  f2 (uint16_t x)
      14  {
      15    return (float)(double)x;
      16  }
      17  
      18  /* { dg-final { scan-assembler-not "fcvt" } } */