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] 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 05:20:
> 
> > No noticable slowdowns, I have applied the patch to mainline.  A patch
> > for 14495 is in work.
> 
> I forgot to ask, what was the net effect of the optimization in terms of
> code size or performance of generated code?

There are improvements for checking enabled gcc itself, there were no
significant changes for performance or code size in the C++ testcases.

So the patch seems to work where it was designed for (improve code
generated for gcc with checking enabled) and does not harm other parts.
I would expect that fixing PR30318 will give another boost on its effects.

Richard.

-- 
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex


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