https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31787
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |inline-asm --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- do { { asm volatile ("cli %0 \n" : "=r" (level) ); }; asm volatile("" ::: "memory"); } while (0); Hmm, this might not be a GCC bug ...