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

--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #15)
> Created attachment 45278 [details]
> patch for the ICF issue
> 
> Conveniently the congruence_classes have a UID.  So the attached sorts after
> that before traversing / splitting.
> 
> So testing the attached.

Of course the patch didn't fix the miscompare.  It fixes the IPA ICF dump
difference though (the :370 vs. :371 "issue") remains.  The .fixup_cfg
LTRANS dump debug stmt differences remain as well.  The same ltrans unit
at .optimized has additional code-gen differences:

   <bb 83> [local count: 56209456]:
   # _462 = PHI <_354(182), _122(177), _354(184)>
-  # would_overrun_p_183 = PHI <would_overrun_p_11(182),
would_overrun_p_468(177), 1(184)>
+  # would_overrun_p_183 = PHI <would_overrun_p_11(182),
would_overrun_p_468(177), _448(184)>
   # _218 = PHI <_375(182), 1(177), _375(184)>

Reply via email to