[Bug middle-end/9997] Coelesce stack slots for disjoint scopes.
naveens at noida dot hcltech dot com
gcc-bugzilla@gcc.gnu.org
Wed Jul 7 16:09:00 GMT 2004
------- Additional Comments From naveens at noida dot hcltech dot com 2004-07-07 16:09 -------
> we should allocate only one structure on the stack.
> Here's some interesting numbers I got for this testcase. HEAD+stack is
> the -fstack-reorg patch posted some time ago.
A small clarification.
-fstack-reorg doesn't affect stack height significantly. It had a slightly
different objective (i.e. reorganizing frame to reduce address arithemtic
for processors with limited offsets). Stack height reduction,
if any, occurs due only due alignment holes elimination. (not in this
case anyway)
I realize that work can be used to reduce stack height as well.
Myself and Rakesh Kumar plan to work on this problem shortly.
If the proposed patch (for this PR) works, it is fine, otherwise we can look
into this. However, it seems it will not be a bug-fixing exercise,
because this is actually a design deficiency.
Cannot give a commitment on timeline though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9997
More information about the Gcc-bugs
mailing list