[Bug c/104805] [12.0] x86_64 Extended asm may use rbp register to input/output even thougth "rbp" is in the clobber list when "rsp" and "rbp" are both in the in the clobber list

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 6 11:46:17 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104805

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Clobber of "rsp" makes no sense, you can't change the value of the stack
pointer in inline asm without restoring it back before the end of inline asm.


More information about the Gcc-bugs mailing list