https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81733
--- Comment #24 from Iain Sandoe <iains at gcc dot gnu.org> --- Author: iains Date: Mon Nov 26 19:49:19 2018 New Revision: 266478 URL: https://gcc.gnu.org/viewcvs?rev=266478&root=gcc&view=rev Log: darwin - backport r263763 to fix PR81033 2018-11-26 Iain Sandoe <i...@sandoe.co.uk> Backport from mainline 2018-08-22 Iain Sandoe <i...@sandoe.co.uk> PR bootstrap/81033 PR target/81733 PR target/52795 * gcc/dwarf2out.c (FUNC_SECOND_SECT_LABEL): New. (dwarf2out_switch_text_section): Generate a local label for the second function sub-section and apply it as the second FDE start label. * gcc/final.c (final_scan_insn_1): Emit second FDE label after the second sub-section start. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/dwarf2out.c branches/gcc-7-branch/gcc/final.c