This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/44080] Call GNU ld with -O1
- From: "marc.glisse at normalesup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 6 Aug 2011 12:06:26 +0000
- Subject: [Bug other/44080] Call GNU ld with -O1
- Auto-submitted: auto-generated
- References: <bug-44080-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44080
--- Comment #1 from Marc Glisse <marc.glisse at normalesup dot org> 2011-08-06 12:06:20 UTC ---
Created attachment 24932
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24932
patch spec
Testing for -Ox x>=3 within the specs is ugly (see the patch) but seems to
work, thanks to the special treatment for -O* options (all but the last one are
ignored), and seems preferable to doing it in the code. I don't know if we also
want to do something for -Os.
Bootstrapped with -O3.