This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Get rid of awkward precision for bitsize types


> I know that sizetypes "do not overflow" (err, well ...) - but do you
> realize that doing this makes overflow behavior different between
> a computation in sizetype and one in bitsizetype with bit
> quantities?

Yes, I do; gigi tests TREE_OVERFLOW for static sizes on various occasions.
But ultimately the allocation size of the object has to be computed in units.

That being said, excluding sizetypes from the RTL expander treatment could be 
both simpler and safer.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]