This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] passes.c: handle register_pass with a name starting with a star
On Sun, Jul 11, 2010 at 11:47 AM, <firstname.lastname@example.org> wrote:
> From: "Dennis, CHENG Renquan" <email@example.com>
> The gcc included passes have the feature that a name starting with a start do
> not dump anything; so should the plugin registered passes have.
> And since passes from gcc and from plugin both have been asserted having a name
> at least; the check for pass->name in any following code is not necessary.
> Bootstraped on i686-pc-linux-gnu with --enable-checking=all.
Bootstraped and tested on i686-pc-linux-gnu with --enable-checking=all.
> 2010-07-10 Â"Dennis, CHENG Renquan" <firstname.lastname@example.org>
> Â Â Â Â* passes.c (register_pass): handle plugin registered passes with
> Â Â Â Âa name starting with a star do not dump anything.
> Â Â Â Â* passes.c: remove some cases of pass->name check.
> --- gcc-4.5-20100708/gcc/passes.c.orig Â2010-05-19 21:14:37.000000000 +0800
> +++ gcc-4.5-20100708/gcc/passes.c Â Â Â 2010-07-11 10:10:13.972787670 +0800