[PATCH] Make -Wint-in-bool-context warn on suspicious shift ops

Joseph Myers joseph@codesourcery.com
Tue Oct 18 17:05:00 GMT 2016


On Tue, 18 Oct 2016, Bernd Edlinger wrote:

> Hi,
> 
> this restricts the -Wint-in-bool-context warning to signed shifts,
> to reduce the number of false positives Markus reported yesterday.

This patch seems to be missing testcases (that warned before the patch 
and don't warn after it).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list