This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix optimization regression in constant folder
email@example.com (Richard Kenner) writes:
> > We need some way to indicate that this type does not overflow.
> What's wrong with using TYPE_IS_SIZETYPE for that?
> I'm quite mystified by this thread: we have a flag that indicates exactly
> what we need but kepe trying to find other flags to do that.
Because, as we've said again and again, TYPE_IS_SIZETYPE doesn't imply
any semantics to the rest of us. You are the oracle of
TYPE_IS_SIZETYPE. The rest of us don't know what it means. That's we
keep going around and around this circle.
TYPE_IGNORE_OVERFLOW does have semantics.