This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix optimization regression in constant folder
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, gcc-patches at gcc dot gnu dot org, iant at google dot com, matz at suse dot de, richard dot guenther at gmail dot com
- Date: Sun, 14 Oct 2007 12:29:15 +0200
- Subject: Re: [PATCH] Fix optimization regression in constant folder
- References: <200709171539.26653.ebotcazou@adacore.com> <10710121235.AA10499@vlsi1.ultra.nyu.edu> <470FB37B.9040904@codesourcery.com>
> 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