bitmap.h (bitmap_set_bit): Return bool.
authorRichard Guenther <rguenther@suse.de>
Wed, 2 Jul 2008 08:07:41 +0000 (08:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Jul 2008 08:07:41 +0000 (08:07 +0000)
commit5f0d975b0d6f1d2f866ce4deab49da8f9ab13366
tree59c464d2d8075f1ef24924d7e3cc40d4c5282472
parent78209f30ad17a26e21acecbb5ed518c747f28c74
bitmap.h (bitmap_set_bit): Return bool.

2008-07-02  Richard Guenther  <rguenther@suse.de>

* bitmap.h (bitmap_set_bit): Return bool.
(bitmap_clear_bit): Likewise.
* bitmap.c (bitmap_set_bit): Return if the bit changed.  Only
write to the bitmap if it would.
(bitmap_clear_bit): Likewise.
* tree-ssa-structalias.c (add_implicit_graph_edge): Use
bitmap_set_bit return value.
(add_pred_graph_edge): Likewise.
(add_graph_edge): Likewise.
(do_sd_constraint): Likewise.
(do_ds_constraint): Likewise.

From-SVN: r137345
gcc/ChangeLog
gcc/bitmap.c
gcc/bitmap.h
gcc/tree-ssa-structalias.c