public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/9383] -fomit-frame-pointer has no effect on nested functions
       [not found] <20030121123600.9383.fshvaige@cisco.com>
@ 2003-06-04 17:44 ` dhazeghi@yahoo.com
  2003-08-18  1:56 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-04 17:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|                            |i686-pc-linux-gnu
   GCC host triplet|                            |i686-pc-linux-gnu
 GCC target triplet|                            |powerpc-elf
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-04 17:44:11
               date|                            |


------- Additional Comments From dhazeghi@yahoo.com  2003-06-04 17:44 -------
Confirmed still present with gcc 3.3. branch and mainline (20030513).

Dara



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug optimization/9383] -fomit-frame-pointer has no effect on nested functions
       [not found] <20030121123600.9383.fshvaige@cisco.com>
  2003-06-04 17:44 ` [Bug optimization/9383] -fomit-frame-pointer has no effect on nested functions dhazeghi@yahoo.com
@ 2003-08-18  1:56 ` pinskia at gcc dot gnu dot org
  2003-11-23  8:07 ` [Bug target/9383] " pinskia at gcc dot gnu dot org
  2004-11-27  5:37 ` [Bug target/9383] [SYSV] stack frame always made for " amodra at bigpond dot net dot au
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-18  1:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-06-04 17:44:11         |2003-08-18 01:56:56
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-18 01:56 -------
Note the PPC only happens on powerpc-elf and powerpc-eabi, it does not happen on powerpc-
darwin6.6 or powerpc-aix5.1.


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

* [Bug target/9383] -fomit-frame-pointer has no effect on nested functions
       [not found] <20030121123600.9383.fshvaige@cisco.com>
  2003-06-04 17:44 ` [Bug optimization/9383] -fomit-frame-pointer has no effect on nested functions dhazeghi@yahoo.com
  2003-08-18  1:56 ` pinskia at gcc dot gnu dot org
@ 2003-11-23  8:07 ` pinskia at gcc dot gnu dot org
  2004-11-27  5:37 ` [Bug target/9383] [SYSV] stack frame always made for " amodra at bigpond dot net dot au
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-23  8:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-23 08:07 -------
Looks like this is an effect of the SYSV ABI.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|optimization                |target


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


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

* [Bug target/9383] [SYSV] stack frame always made for nested functions
       [not found] <20030121123600.9383.fshvaige@cisco.com>
                   ` (2 preceding siblings ...)
  2003-11-23  8:07 ` [Bug target/9383] " pinskia at gcc dot gnu dot org
@ 2004-11-27  5:37 ` amodra at bigpond dot net dot au
  3 siblings, 0 replies; 4+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-11-27  5:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-11-27 05:37 -------
This is because g1 is allocated space on the stack as a result of the following
code in expand_function_start.  If a function has local variables (including
hidden ones like this one) then it needs a stack frame.  Other ABIs can create
leaf functions having local vars without necessarily creating a stack frame.

  /* If function gets a static chain arg, store it in the stack frame.
     Do this first, so it gets the first stack slot offset.  */
  if (current_function_needs_context)
    {
      last_ptr = assign_stack_local (Pmode, GET_MODE_SIZE (Pmode), 0);


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
            Summary|[SYSV] -fomit-frame-pointer |[SYSV] stack frame always
                   |has no effect on nested     |made for nested functions
                   |functions                   |


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


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

end of thread, other threads:[~2004-11-27  5:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030121123600.9383.fshvaige@cisco.com>
2003-06-04 17:44 ` [Bug optimization/9383] -fomit-frame-pointer has no effect on nested functions dhazeghi@yahoo.com
2003-08-18  1:56 ` pinskia at gcc dot gnu dot org
2003-11-23  8:07 ` [Bug target/9383] " pinskia at gcc dot gnu dot org
2004-11-27  5:37 ` [Bug target/9383] [SYSV] stack frame always made for " amodra at bigpond dot net dot au

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