Re: [PATCH] tree-ssa-dce: Fix up -fcompare-debug failures in make_forwarders_with_degenerate_phis [PR103742]

2021-12-29 Thread Richard Biener via Gcc-patches
On December 29, 2021 11:11:18 AM GMT+01:00, Jakub Jelinek wrote: >Hi! > >make_forwarders_with_degenerate_phis causes a -fcompare-debug failure on the >following testcase. >The problem is that on: > # iftmp.4_8 = PHI <(6), (4), (7), (5)> >the exact DECL_UIDs are different between -g and -g0

[PATCH] tree-ssa-dce: Fix up -fcompare-debug failures in make_forwarders_with_degenerate_phis [PR103742]

2021-12-29 Thread Jakub Jelinek via Gcc-patches
Hi! make_forwarders_with_degenerate_phis causes a -fcompare-debug failure on the following testcase. The problem is that on: # iftmp.4_8 = PHI <(6), (4), (7), (5)> the exact DECL_UIDs are different between -g and -g0 (which is ok, with -g the decls can have larger gaps in between the uids),