This is the mail archive of the gcc@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: [tree-ssa] GIMPLE grammar changes in function calls.


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


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