mve: Fix vsetq_lane for 64-bit elements with lane 1 [PR 115611]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / inf-compare-1-float.c
blobc53dcfe672c7a80902f37bfb09e2f9141cf45f8a
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" } */
8 #include <fenv.h>
10 extern void abort (void);
11 extern void exit (int);
13 volatile float x = __builtin_nan ("");
14 volatile int i;
16 int
17 main (void)
19 i = x > __builtin_inf ();
20 if (i != 0 || !fetestexcept (FE_INVALID))
21 abort ();