https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111601
--- Comment #6 from Peter Bergner <bergner at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #5) > (In reply to Peter Bergner from comment #4) > > CCing richi and jakub to see if they've seen anything like this before? > > I suspect we are miscompiling the final compiler somehow. I linked 2 other > reports which reported that PGO is causing wrong code; I have not looked > into confirming them yet though. Thanks and yes, I agree. Luckily those test cases are MUCH smaller than gcc itself. Hopefully the bug is the same!