https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38534
--- Comment #13 from Lukas Grätz <lukas.gra...@tu-darmstadt.de> --- (In reply to Lukas Grätz from comment #12) > CODE, uses loop unwinding functions > a) restores all callee-saved registers in f3(), f2() > b) restores %rsp and %rip from stack of f2() I meant stack unwinding. f3() and f2() can be in separate compilation units, it needs is ".cfi_offset REGISTER, OFFSET" from the elf (also in the generated assembly).