http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57555
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> --- Not having studied the issue in any detail, most likely the warning is fine: all the modern compilers (gcc, ICC, clang) I have at hand warn in exactly the same way.