> Looking at the Ada case I believe this happens because
> Ada has negative DECL_FIELD_OFFSET values (but that's
> again in sizetype, not ssizetype)?  Other host_integerp
> uses in Ada operate on sizes where I hope those are
> never negative ;)

Yes, the Ada compiler uses negative offsets for some peculiar constructs.
Nothing to do with the language per se, but with mechanisms implemented in 
gigi to support some features of the language.

> Eric, any better way of fixing this or would you be fine with this patch?

Hard to say without seeing the complete patch and playing a little with it.

-- 
Eric Botcazou

Reply via email to