(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr102811-2.c
       1  /* { dg-do compile { target { ! ia32 } } } */
       2  /* { dg-options "-O2 -mf16c -mno-avx512fp16" } */
       3  /* { dg-final { scan-assembler-times "vmovd" 2 } } */
       4  /* { dg-final { scan-assembler-not "\\\(%rsp\\\)"} } */
       5  short test (_Float16 a)
       6  {
       7    union{
       8      short b;
       9      _Float16 a;}u;
      10    u.a = a;
      11    return u.b;
      12  }
      13  
      14  _Float16 test1 (short a)
      15  {
      16    union{
      17      _Float16 b;
      18      short a;}u;
      19    u.a = a;
      20    return u.b;
      21  }