(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
inf-compare-1-float.c
       1  /* { dg-do run { xfail { powerpc*-*-* } } } */
       2  /* remove the xfail for powerpc when pr58684 is fixed */
       3  /* { dg-add-options ieee } */
       4  /* { dg-require-effective-target fenv_exceptions } */
       5  /* { dg-skip-if "fenv" { powerpc-ibm-aix* } } */
       6  /* { dg-additional-options "-fno-tree-dominator-opts -fno-tree-vrp" } */
       7  
       8  #include <fenv.h>
       9  
      10  extern void abort (void);
      11  extern void exit (int);
      12  
      13  volatile float x = __builtin_nan ("");
      14  volatile int i;
      15  
      16  int
      17  main (void)
      18  {
      19    i = x > __builtin_inf ();
      20    if (i != 0 || !fetestexcept (FE_INVALID))
      21      abort ();
      22  }