This is the mail archive of the
mailing list for the GCC project.
Re: [patch] fold-const.c (fold): Clean up use of variable "t".
- From: law at redhat dot com
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: roger at eyesopen dot com, kenner at vlsi1 dot ultra dot nyu dot edu, gcc-patches at gcc dot gnu dot org
- Date: Mon, 22 Mar 2004 10:15:52 -0700
- Subject: Re: [patch] fold-const.c (fold): Clean up use of variable "t".
- Reply-to: law at redhat dot com
In message <firstname.lastname@example.org>, Kazu Hirata writes:
>Hi Roger and Richard,
>> I really like this clean-up, but as Richard Kenner has suggested
>> the shadowing of "t" can be confusing, and without "shrink-wrapping"
>> can lead to larger stack frames for fold, which is often recursive.
[ ... ]
> but then the current register allocator may not
>assign more than one variable to a stack slot AFAIK.
Reload is certainly designed and implemented to share stack slots across
different pseudos. However, I don't know how effective that code is.