https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118554
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > That already is handled by the inline keyword. > so `__asm inline("" : "+r" (var));` But that's /only/ for inlining, where a "minimal" size is assumed -- whatever "minimal" means. Also the size is not easy to verify since contrary to ordinary insns, the assembly file won't show the size of the asm, not even whe compiled with -dP.