public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Turn on -fomit-frame-pointer by default for 32bit x86?
@ 2010-07-13 18:15 H.J. Lu
  2010-07-13 20:40 ` Richard Guenther
  2010-07-16 19:35 ` Andi Kleen
  0 siblings, 2 replies; 12+ messages in thread
From: H.J. Lu @ 2010-07-13 18:15 UTC (permalink / raw)
  To: GCC Patches, Uros Bizjak

Hi,

I checked the default code for 32bit. We currently generate

[hjl@gnu-6 tmp]$ cat x.c
void
foo ()
{
}
[hjl@gnu-6 tmp]$ /usr/gcc-4.5/bin/gcc -m32 -S x.c -O3
[hjl@gnu-6 tmp]$ cat x.s
	.file	"x.c"
	.text
.globl foo
	.type	foo, @function
foo:
	pushl	%ebp
	movl	%esp, %ebp
	popl	%ebp
	ret

Can we turn on -fomit-frame-pointer by default for 32bit?


-- 
H.J.

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

end of thread, other threads:[~2010-07-16 19:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-13 18:15 Turn on -fomit-frame-pointer by default for 32bit x86? H.J. Lu
2010-07-13 20:40 ` Richard Guenther
2010-07-13 20:59   ` H.J. Lu
2010-07-13 21:02     ` Andrew Pinski
2010-07-13 21:03       ` Andrew Pinski
2010-07-13 21:44         ` H.J. Lu
2010-07-14  8:09           ` Richard Guenther
2010-07-14 13:47             ` H.J. Lu
2010-07-14 21:55               ` H.J. Lu
2010-07-14 12:00           ` Dave Korn
2010-07-16 19:35 ` Andi Kleen
2010-07-16 19:43   ` Jeff Law

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