This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix nits in gimplify_cond_expr
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Apr 2010 12:27:51 +0200
- Subject: Re: [patch] Fix nits in gimplify_cond_expr
- References: <201004261131.50351.ebotcazou@adacore.com>
On Mon, Apr 26, 2010 at 11:31 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> Hi,
>
> this fixes a few nits I happened to notice in gimplify_cond_expr: inconsistent
> way of testing for void type, local variable shadowing another, undefined
> references in comments, etc. ?No functional changes whatsoever.
>
> Tested on i586-suse-linux, OK for mainline?
Ok.
Thanks,
Richard.
>
> 2010-04-26 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?* gimplify.c (gimplify_cond_expr): Use THEN_ and ELSE_ local variables.
> ? ? ? ?Use VOID_TYPE_P for all void type tests. ?Adjust TYPE variable instead
> ? ? ? ?of shadowing it. ?Fix comments.
>
>
> --
> Eric Botcazou
>