From: Richard Guenther <richard.guenther@gmail.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>, Uros Bizjak <ubizjak@gmail.com>
Subject: Re: Turn on -fomit-frame-pointer by default for 32bit x86?
Date: Tue, 13 Jul 2010 20:40:00 -0000 [thread overview]
Message-ID: <AANLkTilE2qdGHgtHSVvYQ2j51FmwVKFkc8AynUez_cUt@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikVToxej7rGdy3-vzbyyj1s1RJ7ItM85QEL-OPG@mail.gmail.com>
On Tue, Jul 13, 2010 at 8:15 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> 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?
No, we don't have unwind information by default for 32bit.
Richard.
>
> --
> H.J.
>
next prev parent reply other threads:[~2010-07-13 20:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-13 18:15 H.J. Lu
2010-07-13 20:40 ` Richard Guenther [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTilE2qdGHgtHSVvYQ2j51FmwVKFkc8AynUez_cUt@mail.gmail.com \
--to=richard.guenther@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=hjl.tools@gmail.com \
--cc=ubizjak@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).