This is the mail archive of the gcc-bugs@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]

[Bug middle-end/9997] Coelesce stack slots for disjoint scopes.


------- 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


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