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


On 10/14/07, Eric Botcazou <ebotcazou@adacore.com> wrote:
> > The flags aren't fixed in stone.  In fact, I just introduced them
> > earlier this year.  So all this tells me is that we need to change the
> > flags.  I already proposed such a change
> > (http://gcc.gnu.org/ml/gcc-patches/2007-10/msg00053.html).  Nobody has
> > yet explained why my proposal wouldn't work.
>
> From my point of view, your proposal (TYPE_IGNORE_OVERFLOWS +
> TYPE_OVERFLOW_WRAPS) is OK.

I don't want to have TYPE_IGNORE_OVERFLOWS.  Matters are complicated
enough already.  I also like you to revisit the decision to make Ada sizetype
signed.  If there are optimization regressions for expressions created by
stor-layout.c solve them there, as that is the place where enough knowledge
about the involved magnitudes is available.

Richard.


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