2 /* { dg-options "-O0" } */
6 extern void abort (void);
9 #define EFLAGS_TYPE unsigned long long int
11 #define EFLAGS_TYPE unsigned int
14 __attribute__((noinline
, noclone
))
16 readeflags_test (unsigned int a
, unsigned int b
)
18 volatile char x
= (a
== b
);
19 return __readeflags ();
27 flags
= readeflags_test (100, 100);
29 if ((flags
& 1) != 0) /* Read CF */
32 flags
= readeflags_test (100, 101);
34 if ((flags
& 1) == 0) /* Read CF */