Hi David,
I'm sorry but I wanted to get this out to you. To clarify, I had a statement of
the form:
end_offset <= covering_field->field_decl.bit_offset->int_cst.val[0]
covering_field->decl_common.size->int_cst.val[0] - 1;
(Sorry if my email is clobbering the angle brackets). I have replaced the first
expression with int_bit_position (covering_field), I am not sure where to
properly
access the size of the field. FWIW, I found your region::get_byte_size, which
calls int_size_in_bytes, but this crashes gcc for a field tree, it wants a
type tree.
Additionally, is there some proper way to access a bit_offset_t other than
bit_off.get_val ()[0]? That is what I am using now, but I can swap it out.
Sorry for the newbie questions, but these things aren't really documented
in one place, at least that I am aware of.
Brian