http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56627
--- Comment #9 from Matt Arsenault <whatmannerofburgeristhis at gmail dot com> --- (In reply to Andrew Pinski from comment #8) > *** Bug 58025 has been marked as a duplicate of this bug. *** They don't have to be consistent by the standard, but the purpose of warnings is not to strictly report deviations from the standard. Many point out likely mistakes or inconsistencies in "standard" conforming code (e.g. -Wlogical-op). This is an absolutely trivial fix.