https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80463
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-04-19 Summary|[6/7 Regression] ICE with |[5/6/7 Regression] ICE with |-fselective-scheduling2 and |-fselective-scheduling2 and |-fvar-tracking-assignments |-fvar-tracking-assignments Ever confirmed|0 |1 Known to fail| |4.8.5, 4.9.4, 5.4.0, 6.3.0, | |7.0.1 --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- It would be related to selective scheduling pass. Testing your fixed test-case, I see ICE starting from GCC 4.8.0. GCC 4.5.0 works, and in between I see probably an infinite recursion.