http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57010
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-04-20 11:07:38 UTC --- By the way, traditionally, for *library* patches we never used -p + I'm traveling sorry (C++ in Bristol), I barely installed some stuff on this tiny laptop, I didn't mean to use it to do actual programming. More to the point, I'm under the impression that preliminarily checking (__last - __first > 1) is more user friendly as undefined behavior in case __first == __last happens to be true. I think we should just do that, consistently with the existing while loops in the same file, at least to resolve this issue for 4.8.x too. Maybe reconsider later.