This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35806] Object code is bigger at -Os than at -O2
- From: "mstein dot lists at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Apr 2008 14:31:18 -0000
- Subject: [Bug target/35806] Object code is bigger at -Os than at -O2
- References: <bug-35806-14137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mstein dot lists at googlemail dot com 2008-04-06 14:31 -------
OK, using -Os together with -ftree-ch / -ftree-pre seem to help in some cases.
It would be nice if gcc could add/remove these flags automaticaly when
using -Os :)
--
mstein dot lists at googlemail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
GCC target triplet|arm-elf |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35806