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


> The only place I can actually see uses of TYPE_IS_SIZETYPE are
> fold-const.c and tree.c.  And, in both cases, it looks like we do
> exactly one thing: treat sizetypes are sign-extended even when
> TYPE_UNSIGNED.

We also allow more optimizations if TYPE_IS_SIZETYPE is set.

-- 
Eric Botcazou


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