This is the mail archive of the gcc-patches@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: [patch] fold-const.c (fold): Clean up use of variable "t".


In message <20040319.103037.48514425.kazu@cs.umass.edu>, 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.

jeff


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