diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-03-24 10:02:29 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-03-24 10:02:29 -0300 |
commit | fb488cba571539b6644e8f99f1dd997cdb4c82c1 (patch) | |
tree | cbf936383d278703c5dc1f1fd15158e4bb344cda /gcc/cp/method.cc | |
parent | b8c4171ebd72079e55aceadbcfc883f517cdf895 (diff) | |
download | gcc-fb488cba571539b6644e8f99f1dd997cdb4c82c1.zip gcc-fb488cba571539b6644e8f99f1dd997cdb4c82c1.tar.gz gcc-fb488cba571539b6644e8f99f1dd997cdb4c82c1.tar.bz2 |
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.
Diffstat (limited to 'gcc/cp/method.cc')
0 files changed, 0 insertions, 0 deletions