------- Comment #2 from paolo dot carlini at oracle dot com 2010-09-01 20:53 ------- Granted, __middle is not used after the loop, thus moving the declaration inside the loop seems a tad cleaner. But then we should do the change consistently for both lower_bound overloads and for upper_bound. Please test that, simply use _ForwardIterator __middle = __first; and send to the mailing list a real patch, if you want your name in the ChangeLog. Thanks.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45488