https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99998
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Component|c |inline-asm Status|NEW |RESOLVED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC does not look into the inline-asm to see if it is empty or not. Since the inline-asm is marked as volatile, it cannot be made as unconditional either. So closing as won't fix.