OSDN Git Service

2008-03-05 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Mar 2008 10:32:07 +0000 (10:32 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Mar 2008 10:32:07 +0000 (10:32 +0000)
commit70d2daf706955b9c5e21c4d1dc9501ff45837f2e
treedbc226445478bac071c83a30072ba45eb3da7ff8
parenta08778a200c37877029d20fe6a974b5798710b78
2008-03-05  Richard Guenther  <rguenther@suse.de>

PR c++/35336
* tree.def (BIT_FIELD_REF): Document that operands 1 and 2
should be constants.
* tree-cfg.c (verify_expr): Verify it.
* fold-const.c (fold_truthop): Remove code generating
BIT_FIELD_REFs of structure bases.
(fold_binary): Likewise.
(fold_ternary): Position and size of BIT_FIELD_REFs are
always host integers.
(make_bit_field_ref): Remove.
(optimize_bit_field_compare): Remove.
(all_ones_mask_p): Remove.

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