https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #12 from Alan Modra <amodra at gmail dot com> --- > simplify_replace_rtx does not guarantee this, it only guarantees that the > original expression is not modified I missed that fact. FWIW, the last patch looks good to me.