summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-05 05:36:47 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-05 05:36:47 +0000
commit0afce52ecb3f7d5ca83cc025abf8e9fed4044b6c (patch)
treeea4a97b34c6fe9691e64049b7f05237d04c6d2f6 /gcc/opts.c
parent2c0b522ddcf9182f468722a82afa1a3245c4239d (diff)
downloadgcc-0afce52ecb3f7d5ca83cc025abf8e9fed4044b6c.tar.gz
* opts.c (decode_options): Enable unit-at-a-time at -O2.
* params.def (max-inline-insns-single): Set to 500 (max-inline-insns-auto): Set to 150 * invoke.texi (max-inline-insns-single, max-inline-insns-auto): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71105 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index fe8d28f5604..c4c5b9fd414 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -556,6 +556,7 @@ decode_options (unsigned int argc, const char **argv)
flag_delete_null_pointer_checks = 1;
flag_reorder_blocks = 1;
flag_reorder_functions = 1;
+ flag_unit_at_a_time = 1;
}
if (optimize >= 3)
@@ -563,7 +564,6 @@ decode_options (unsigned int argc, const char **argv)
flag_inline_functions = 1;
flag_rename_registers = 1;
flag_unswitch_loops = 1;
- flag_unit_at_a_time = 1;
}
if (optimize < 2 || optimize_size)