This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Teach VRP to derive ranges from SWITCH_EXPR (fix PR21258)
On Fri, 13 Apr 2007, Diego Novillo wrote:
> Richard Guenther wrote on 04/13/07 08:07:
>
> > There are improvements for checking enabled gcc itself, there were no
> > significant changes for performance or code size in the C++ testcases.
>
> Numbers? I expect you collected some?
They aren't earth shaking because of PR30318 at the moment, but there's
a size reduction of cc1 of 0.2%. A few examples:
text data bss dec hex filename
307998 0 28 308026 4b33a fold-const.o.opt
text data bss dec hex filename
308302 0 28 308330 4b46a fold-const.o.noopt
text data bss dec hex filename
147623 4 72 147699 240f3 tree.o.opt
text data bss dec hex filename
148023 4 72 148099 24283 tree.o.noopt
I didn't measure bootstrap time patched vs. unpatched.
Richard.
--
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex