(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr70465.c
       1  /* PR target/70465 */
       2  /* { dg-do compile { target ia32 } } */
       3  /* { dg-options "-O2 -mfpmath=387 -fomit-frame-pointer" } */
       4  /* { dg-final { scan-assembler-not "fxch\t%st.1" } } */
       5  
       6  double
       7  atan2 (double y, double x)
       8  {
       9    double res = 0.0;
      10    asm ("fpatan" : "=t" (res) : "u" (y), "0" (x) : "st(1)");
      11    return res;
      12  }