[RFC] Implement Undefined Behavior Sanitizer (take 2)

Joseph S. Myers joseph@codesourcery.com
Mon Jun 10 14:29:00 GMT 2013


On Sat, 8 Jun 2013, Marek Polacek wrote:

> +  if (code == LSHIFT_EXPR
> +      && !TYPE_UNSIGNED (TREE_TYPE (op0))
> +      && (flag_isoc99 || flag_isoc11))

flag_isoc11 implies flag_isoc99, you only need to check flag_isoc99 here.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list