This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.
- From: "vda dot linux at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2007 15:09:38 -0000
- Subject: [Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.
- References: <bug-30354-12956@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from vda dot linux at googlemail dot com 2007-07-25 15:09 -------
Created an attachment (id=13974)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13974&action=view)
Auto-generated test program with 15000 constant divs/mods
Test program, bzipped.
Build with
gcc -fomit-frame-pointer -Os t.c
and see sizes:
nm --size-sort t-Os.o | sort -k3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30354