This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix optimization regression in constant folder
Michael Matz <email@example.com> writes:
> > One can argue about what those properties ought to be, but they clearly
> > have *some* properties!
> Of course. I think "unsigned, wrapping overflow" are these properties,
> hence no need for a special sizetypiness.
Look for the case
if ((TYPE_OVERFLOW_UNDEFINED (ctype)
|| (TREE_CODE (ctype) == INTEGER_TYPE && TYPE_IS_SIZETYPE (ctype)))
That is an optimization that sizetypes should have but that unsigned
wrapping types do not.