diff options
author | kan <kan@FreeBSD.org> | 2004-07-28 04:23:38 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-07-28 04:23:38 +0000 |
commit | 3f0662d51df14bed6d8fb5c0f78720f540f15357 (patch) | |
tree | 3b644ad7f35365e2686a3d24793b9d68dc413dce /contrib/gcc/opts.c | |
parent | f245def18eeec48cd2ba2cc8cdae56d9c4b07163 (diff) | |
download | FreeBSD-src-3f0662d51df14bed6d8fb5c0f78720f540f15357.zip FreeBSD-src-3f0662d51df14bed6d8fb5c0f78720f540f15357.tar.gz |
-O0 -O1 should optimize alignment for time, not size. Moved from toplev.c.
Diffstat (limited to 'contrib/gcc/opts.c')
-rw-r--r-- | contrib/gcc/opts.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/gcc/opts.c b/contrib/gcc/opts.c index ff50ad1..4fbec28 100644 --- a/contrib/gcc/opts.c +++ b/contrib/gcc/opts.c @@ -19,6 +19,8 @@ along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $FreeBSD$ */ + #include "config.h" #include "system.h" #include "intl.h" @@ -575,7 +577,7 @@ decode_options (unsigned int argc, const char **argv) flag_web = 1; } - if (optimize < 2 || optimize_size) + if (optimize_size) { align_loops = 1; align_jumps = 1; |