This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: type gimplification, continued
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 22 Dec 04 14:01:37 EST
- Subject: Re: type gimplification, continued
Given that we're not explicitly handling DECL_SIZEs for any other
variable, doing so here looks like a hack.
No, not at all! Read what I wrote: the walk_tree below is most definitely
handling the DECL_SIZE for *every* other variable except for PARM_DECLs.
So I think I prefer the unsharing in gimplify_one_sizepos.
That's the hack because it unshares too much and is too late: you want the
GENERIC trees unshared and that's what the above function is supposed to to.