[Bug target/87414] -mindirect-branch=thunk produces thunk with incorrect CFI on x86_64
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 24 18:06:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87414
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> ---
I think we want to emit .cfi_def_cfa_offset 16 after .LIND1: label, because the
call acts as a pushm so the caller (of the thunk) is no longer at $sp+8 after
the call, but at $sp+16.
More information about the Gcc-bugs
mailing list