Re: adjust landing pads when changing main label

2021-07-13 Thread Richard Biener via Gcc-patches
On Tue, Jul 13, 2021 at 5:10 AM Alexandre Oliva wrote: > > > If an artificial label created for a landing pad ends up being > dropped in favor of a user-supplied label, the user-supplied label > inherits the landing pad index, but the post_landing_pad field is not > adjusted to point to the new la

adjust landing pads when changing main label

2021-07-12 Thread Alexandre Oliva
If an artificial label created for a landing pad ends up being dropped in favor of a user-supplied label, the user-supplied label inherits the landing pad index, but the post_landing_pad field is not adjusted to point to the new label. This patch fixes the problem, and adds verification that we