expr.c (do_store_flag): Remove special case folding for single bit tests.
authorJeff Law <law@redhat.com>
Thu, 3 Jul 2003 05:42:57 +0000 (23:42 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 3 Jul 2003 05:42:57 +0000 (23:42 -0600)
commit7960bf2230487ce4626051a2710ecdab9a57d183
tree6d15d4ff3d46299130068684fb935f49bb691251
parentb9add4494a906f9c57c4b9ea1dd17f520eca7178
expr.c (do_store_flag): Remove special case folding for single bit tests.

* 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.

From-SVN: r68867
gcc/ChangeLog
gcc/expr.c
gcc/fold-const.c
gcc/tree.h