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

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:d028794ce7aee71c515346528f36ff985afd4f9f

commit r17-4517-gd028794ce7aee71c515346528f36ff985afd4f9f
Author: Richard Biener <[email protected]>
Date:   Mon Sep 21 10:30:43 2026 +0200

    ipa/127479 - preserve PHI operand order with LTO streaming

    LTO streaming does not preserve the order of incoming edges and
    thus the order of PHI operands, disturbing the IPA ICF IPA reference
    comparison.  The following rectifies this by streaming predecessor
    edges instead of successor edges (which leaves outgoing edge order
    not preserved)

            PR ipa/127479
            * lto-streamer-out.cc (output_cfg): Output predecessor edges.
            * lto-streamer-in.cc (input_cfg): Input predecessor edges.

            * gcc.dg/lto/pr127479_0.c: New testcase.

Reply via email to