https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #7)
> Is there any chance that this fix could be backported to 11 or is it too
> risky?

To fix this bug it should be enough to backport the following part:

* tree-ssa-pre.c (prune_clobbered_mems): Also prune trapping
references when the BB may not return.

I'll check and do that.

Reply via email to