* expr.c (do_store_flag): Remove special case folding for
commit6881f9731db0878f916950428bae5aca1ba23048
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jul 2003 05:42:57 +0000 (3 05:42 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jul 2003 05:42:57 +0000 (3 05:42 +0000)
tree6d15d4ff3d46299130068684fb935f49bb691251
parent8fba22d5d7cdc6900d42b83ef15e2ce47ec64da7
* expr.c (do_store_flag): Remove special case folding for
single bit tests.  Instead call back into the commonized folder
routine.
* fold-const.c (fold_single_bit_test): New function, mostly
extracted from do_store_flag, with an additional case extracted
from fold.
(fold): Call fold_single_bit_test appropriately.
* tree.h (fold_single_bit_test): Prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68867 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/fold-const.c
gcc/tree.h