mve: Fix vsetq_lane for 64-bit elements with lane 1 [PR 115611]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / inf-compare-7-float.c
blob11d987a9f4dee2580a2ec15b7f96786a46cf3f25
1 /* { dg-do run } */
2 /* { dg-add-options ieee } */
3 /* { dg-require-effective-target fenv_exceptions } */
5 #include <fenv.h>
7 extern void abort (void);
8 extern void exit (int);
10 volatile float x = __builtin_nan ("");
11 volatile int i;
13 int
14 main (void)
16 i = x != __builtin_inf ();
17 if (i != 1 || fetestexcept (FE_INVALID))
18 abort ();