https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12944 Bug 12944 depends on bug 10852, which changed state.
Bug 10852 Summary: Old for-scoping rules improperly used? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10852 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED