https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86769
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12/13/14/15 Regression] |[12/13/14 Regression] g++ |g++ destroys condition |destroys condition variable |variable in for statement |in for statement too early |too early | --- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed for 15+ so far. Dunno about backports, maybe in a month or three.