https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119006
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |12.5 Ever confirmed|0 |1 Known to fail| |11.1.0 Summary|IPA ICF and LTO cause |[12/13/14/15 Regression] |strcmp condition to be |ICF merging pointer to |omitted |array types which don't | |have the same bounds Known to work| |10.5.0 Status|UNCONFIRMED |NEW Keywords| |needs-bisection, wrong-code Last reconfirmed| |2025-02-25 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. As I mentioned LTO is not needed with my testcase; only -fwhole-program. Confirmed.