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: More on c-gimplify.c:gimplify_decl_stmt


On Sun, Jun 06, 2004 at 01:24:37PM -0400, Richard Kenner wrote:
> It seems wrong to pass &tmp to gimplify_expr: don't you need to actually
> update the value in TYPE_SIZE_UNIT so that when it's used, what's there
> is GIMPLE?

No, because the SAVE_EXPR gets gimplified, which only changes the
internals of the SAVE_EXPR.  That said, I see no particular reason
we have to retain the SAVE_EXPR in the TYPE_SIZE_UNIT field, so it
seems like we're making things more complex for no particular reason.


r~


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