http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57010
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-04-20 10:55:44 UTC --- Then we should consistently change the while loops elsewhere, right? Did you analyze at all why both can't be optimized the same way?