https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110734
--- Comment #16 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Xi Ruoyao from comment #15) > Alright, this is a C++ issue and I mistakenly assumed it was C. Note that in C++ we have some inconsistency with the standard. In the standard asm(...) are "declarations" but in GNU C++ asm(...) are always "statements".