https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83728
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43174 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43174&action=edit gcc8-pr83728.patch Untested fix. Apparently the bug is in there even with -fno-dwarf2-cfi-asm, in short, in both cases there is just one set of initial cfi insns in the CIE(s), and furthermore GAS has it hardcoded when using .cfi_startproc. So, if some function needs a different initial offset, it needs to emit a CFI insn for that at the start of the function.