https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64460
--- Comment #9 from ktkachov at gcc dot gnu.org --- (In reply to Joel Sherrill from comment #8) > (In reply to ktkachov from comment #7) > > I guess the testcase is flaky. > > I've posted the patch to fix the ICE and the reasoning behind it at > > https://gcc.gnu.org/ml/gcc-patches/2015-01/msg00686.html > > Can you try again with the full test case? The head still fails for me at > -O2 and -Os but not -O1. The location in toplev.c has moved down a few lines. > My patch has not gone in yet, did you try applying it by hand and trying it out? I just tried the full testcase on r219461 and it ICEs without my patch and compiles fine with my patch applied