OSDN Git Service

2011-06-16 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jun 2011 08:41:50 +0000 (08:41 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jun 2011 08:41:50 +0000 (08:41 +0000)
commit71b5c25e1115138075e8fa8f4be22a31bbfdc21a
treeb02d925dc44622ca4d0a8f09518f68c6859d3dce
parent2d7063ae919014ba7c1182821b7b1aa4a9e250d9
2011-06-16  Richard Guenther  <rguenther@suse.de>

* gimple.c (canonicalize_cond_expr_cond): (bool)x is not
the same as x != 0.
* fold-const.c (fold_binary_loc): Do not fold X & 1 != 0 to
(bool) X & 1.
* ipa-prop.c (ipa_analyze_indirect_call_uses): Also allow
equality compares against zero for the lower bit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175096 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/gimple.c
gcc/ipa-prop.c