[Bug ada/85638] [8/9 regression] build failure for Ada runtime with SJLJ exceptions on x86
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 4 16:25:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85638
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Another (checking) assertion triggers in fix_up_crossing_landing_pad:
rtx_insn *insn = BB_END (e->src);
rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
gcc_assert (note != NULL);
gcc_checking_assert (INTVAL (XEXP (note, 0)) == old_lp->index);
Since 2 elements of cfun->eh->lp_array can share the same landing pad, you can
have a different REG_EH_REGION note on one of the edges. I wonder why this
doesn't seem to happen with DWARF-2 exception handling.
More information about the Gcc-bugs
mailing list