* tree-ssa-forwprop.c (simplify_bitwise_binary_boolean): New function.
commit16bc66ec4914124c4bf89513f7624df7b6fa3317
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Jun 2013 14:06:53 +0000 (19 14:06 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Jun 2013 14:06:53 +0000 (19 14:06 +0000)
treed21098a62108b8186e6d4b3c4340baa42780dcaf
parent70e6ce193936e68b15a3008ab8ecfcf93161c052
* tree-ssa-forwprop.c (simplify_bitwise_binary_boolean): New function.
(simplify_bitwise_binary): Use it to simpify certain binary ops on
booleans.

* gcc.dg/tree-ssa/forwprop-28.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200201 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/forwprop-28.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c