This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] GIMPLE grammar changes in function calls.
- From: Jason Merrill <jason at redhat dot com>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Sat, 24 May 2003 00:05:01 -0400
- Subject: Re: [tree-ssa] GIMPLE grammar changes in function calls.
- References: <1053748533.6937.190.camel@frodo.toronto.redhat.com>
On 23 May 2003 23:55:33 -0400, Diego Novillo <dnovillo@redhat.com> wrote:
> Right now is_simple_unary_expr is causing us to accept this as a gimple
> statement:
>
> p = (char *)malloc(100);
Well, that's wrong.
> Removing the STRIP_NOPS we have now at the start of is_simple_unary_expr
> would make things work again (at the expense of forcing the gimplifier
> to create a new temporary).
Sounds right to me.
Jason