https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88559
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Inline-asm cannot clobber the stack pointer; espically when the operands for input are on the stack. GCC is correct in erroring out but it is not fully documented that way but it should be.