I patched this during an evening at ACCU 2014 last week, but seems like I forgot to send it.
This is fix for PR19176:
int arr[] = {1, 2, 3, 4}; for (auto i = arr) (void)i;
possibly meant:
for (auto i : arr)
This is going to be issued iff for range declaration begins with auto keyword in C++11 mode.
This should be an ExtWarn or (strongly preferably) just an Error. I don't see any good reason to support this as an extension.