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] Fix optimization regression in constant folder


Eric Botcazou <ebotcazou@adacore.com> writes:

> > In some of the places where we currently check
> > TYPE_OVERFLOW_UNDEFINED, we would also check TYPE_IGNORE_OVERFLOWS (or
> > we introduce yet another flag which is the intersection).
> 
> Probably most of them.
> 
> > In the proposal above, it doesn't make sense to me to set
> > TYPE_OVERFLOW_UNDEFINED for sizetypes.
> 
> OK, so TYPE_IGNORE_OVERFLOWS + TYPE_OVERFLOW_WRAPS for sizetypes?

That makes sense to me.

Ian


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