re PR c++/35336 (Broken diagnostic: 'bit_field_ref' not supported by dump_expr)
authorRichard Guenther <rguenther@suse.de>
Wed, 5 Mar 2008 10:32:07 +0000 (10:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 5 Mar 2008 10:32:07 +0000 (10:32 +0000)
commite55f42fb7738d37959ec19d10e8335f9c8269eea
treedbc226445478bac071c83a30072ba45eb3da7ff8
parent1da266feea1a26357fa5522803e8c08f3ac6a5d8
re PR c++/35336 (Broken diagnostic: 'bit_field_ref' not supported by dump_expr)

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.

From-SVN: r132894
gcc/ChangeLog
gcc/fold-const.c
gcc/tree-cfg.c
gcc/tree.def