public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/23848] New: stack deallocation more efficient in 3.4
@ 2005-09-13  4:50 amodra at bigpond dot net dot au
  2005-09-13 20:21 ` [Bug middle-end/23848] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-09-13  4:50 UTC (permalink / raw)
  To: gcc-bugs

Deallocation of dynamic stack space, eg. alloca memory, should be combined with
deallocation of stack in function epilogue.  This used to happen in 3.4. 
Testcase in pr23774.

-- 
           Summary: stack deallocation more efficient in 3.4
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amodra at bigpond dot net dot au
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23848


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug middle-end/23848] stack deallocation more efficient in 3.4
  2005-09-13  4:50 [Bug tree-optimization/23848] New: stack deallocation more efficient in 3.4 amodra at bigpond dot net dot au
@ 2005-09-13 20:21 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 20:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-13 20:21 -------
Confirmed.
We should recognized that __builtin_stack_restore at the end of the function is not needed.  This should 
be done while doing CFG exand.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|tree-optimization           |middle-end
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-13 20:21:37
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23848


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-13 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-13  4:50 [Bug tree-optimization/23848] New: stack deallocation more efficient in 3.4 amodra at bigpond dot net dot au
2005-09-13 20:21 ` [Bug middle-end/23848] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).