From: Ebony Zhu <ebony.zhu@motorola.com>
To: gcc_mailing_list <gcc@gcc.gnu.org>
Cc: Zhu Ebony-r57400 <ebony.zhu@motorola.com>
Subject: optimization issue about -O2 and -Os
Date: Thu, 29 Apr 2004 10:33:00 -0000 [thread overview]
Message-ID: <1083221404.1215.267.camel@Woogie> (raw)
Hi, Everybody,
I'm new to this mailing list. I encountered an odd issue about gcc
optimization. I'm using a cross-built gcc 3.3.2 for Powerpc. When I
build some applications such as U-Boot, Busybox..., with the -Os
optimization, the apps can be built but cannot run (just halted, there
were even no error messages). If I use -O2 switch then everything is OK.
According to manpage of GCC, -Os is based on -O2 switch and does some
work to reduce the code size. What GCC did on earth with the -Os switch?
Anybody has some idea about this odd issue? Many thanks!
B.R.
EBony
next reply other threads:[~2004-04-29 6:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-29 10:33 Ebony Zhu [this message]
2004-04-30 0:37 ` Jim Wilson
2004-04-30 6:39 ` Ebony Zhu
2004-04-30 9:20 ` Jim Wilson
2004-04-30 13:23 ` Ebony Zhu
2004-04-30 16:06 ` Dave Korn
2004-04-30 16:42 ` Zack Weinberg
2004-04-30 18:09 ` Dave Korn
2004-04-30 19:12 ` Zack Weinberg
2004-04-30 19:45 ` Dave Korn
2004-04-30 20:05 ` Phil Edwards
2004-04-30 20:09 ` David Edelsohn
2004-04-30 21:02 ` llewelly
2004-04-30 18:29 ` Dale Johannesen
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=1083221404.1215.267.camel@Woogie \
--to=ebony.zhu@motorola.com \
--cc=gcc@gcc.gnu.org \
/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).