This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][4.5] Move gimplifier predicates
- From: Andrew Haley <aph at redhat dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Diego Novillo <dnovillo at google dot com>, tromey at redhat dot com
- Date: Thu, 04 Dec 2008 18:01:42 +0000
- Subject: Re: [PATCH][4.5] Move gimplifier predicates
- References: <alpine.LNX.2.00.0812041807590.5167@zhemvz.fhfr.qr>
Richard Guenther wrote:
> This moves gimplifier predicates to where they belong and makes them
> private. Apart from the uses in walk_gimple_op for which I have no
> clue what this monster-function tries to do - Diego, do you remember?
>
> The java use seems unnecessary (as the comment hints).
I wrote that comment, and to my eyes it hints no such thing.
As the comment says, it was intended to make well-defined an expression
such as
a + ( a = 2; )
by transforming it into
({ A = a; A + ( a = 2 ) })
Andrew.