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


> I don't want to have TYPE_IGNORE_OVERFLOWS.  Matters are complicated
> enough already.

Strange argument, all the more so than this subsumes an already existing flag.
So we're ready to invent CHANGE_DYNAMIC_TYPE_EXPR for some quirks of C++ and 
balk at encapsulating an existing flag into a new macro?

> I also like you to revisit the decision to make Ada sizetype signed.

Well, we can have negative values for such types in Ada.

> 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. 

So we duplicate fold-const.c in stor-layout.c?

-- 
Eric Botcazou


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