fold-const.c (fold_binary_loc): Convert the !bool_var result...
authorRichard Guenther <rguenther@suse.de>
Thu, 14 Jul 2011 12:42:17 +0000 (12:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 14 Jul 2011 12:42:17 +0000 (12:42 +0000)
commitfbf3fee2b959926c4df4295eba74ea144f0c6a00
tree89cc9ab09fa6ed3c82b52e8d764009bef28d8f1a
parentb953c2b834c1f92f20729a51b4cd4d15b2426d7a
fold-const.c (fold_binary_loc): Convert the !bool_var result...

2011-07-14  Richard Guenther  <rguenther@suse.de>

* fold-const.c (fold_binary_loc): Convert the !bool_var result,
not bool_var when folding bool_var != 1 or bool_var == 0.

From-SVN: r176272
gcc/ChangeLog
gcc/fold-const.c