[Bug rtl-optimization/124452] [16 regression] FAIL: c-c++-common/ubsan/overflow-mul-4.c - r16-7879-g958d1a881940c6

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 12 20:50:12 GMT 2026


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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Makarov <vmakarov@gcc.gnu.org>:

https://gcc.gnu.org/g:772ec2d96ed73568203af8fa6669ee36988497d1

commit r16-8063-g772ec2d96ed73568203af8fa6669ee36988497d1
Author: Vladimir N. Makarov <vmakarov@redhat.com>
Date:   Thu Mar 12 16:47:16 2026 -0400

    [PR124452, LRA]: Move point of skipping postponed insn

    Patch for PR115042 skipped processing postponed insns after possible
    generation of address reloads for the postponed insns.  The reload
    insns were lost in the code and this resulted in wrong code generation.

    To fix this the patch moves skipping the postponed insn before any
    reload generation.

    gcc/ChangeLog:

            PR rtl-optimization/124452
            * lra-constraints.cc (curr_insn_transform): Move return on the
            postponed insn before any reload generation.


More information about the Gcc-bugs mailing list