[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
Thu Oct 11 17:41:00 GMT 2018


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 11 17:40:31 2018
New Revision: 265048

URL: https://gcc.gnu.org/viewcvs?rev=265048&root=gcc&view=rev
Log:
        Backported from mainline
        2018-09-26  Jakub Jelinek  <jakub@redhat.com>

        PR target/87414
        * config/i386/i386.c: Include debug.h and dwarf2out.h.
        (output_indirect_thunk): Emit DW_CFA_def_cfa_offset after the
        call.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/i386/i386.c


More information about the Gcc-bugs mailing list