https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106845
--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> --- (In reply to Tim Lange from comment #3) > It seems to me that the implementations of byte_range/bit_range > get_last_byte_offset () already assume that m_size_in_bytes should be > greater than zero. So I think the first one should the preferred fix. Sounds right to me; do you want to assign yourself this one?