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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>:

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

commit r12-7801-gfb488cba571539b6644e8f99f1dd997cdb4c82c1
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Thu Mar 24 10:02:29 2022 -0300

    hardened conditionals: drop copied identifiers

    The copies of identifiers, indended to associate hardening SSA
    temporaries to the original variables they refer to, end up causing
    -fcompare-debug to fail, because DECL_UIDs are not identical, and the
    nouid flag used in compare-debug dumps doesn't affect the uids in
    naked identifiers, so the divergence becomes apparent.

    This patch drops the naked identifiers.  Though somewhat desirable,
    they're not necessary.


    for  gcc/ChangeLog

            PR debug/104564
            * gimple-harden-conditionals.cc (detach_value): Keep temps
            anonymous.

    for  gcc/testsuite/ChangeLog

            PR debug/104564
            * c-c++-common/torture/harden-comp.c: Adjust.
            * c-c++-common/torture/harden-cond.c: Adjust.

Reply via email to