On Fri, Apr 13, 2018 at 09:32:07PM +0200, Eric Botcazou wrote: > > This works nicely if the landing pad bb hasn't been really modified much, > > in particular it still needs to contain only the instructions emitted > > by expand_dw2_landing_pad_for_region function call and then an unconditional > > jump or at least single successor and nothing else in the bb. > > How is that supposed to work for SJLJ though?
Dunno, does SJLJ emit .gcc_except_table section with this limitation? > OK, but also make expand_dw2_landing_pad_for_region private so that the same > mistake is not made again in the future. Done, thanks. Jakub