aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2004-10-29 13:08:47 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2004-10-29 13:08:47 +0000
commitfe94b6534a05d437259a17ba37e3fa50f649fe84 (patch)
tree89300f1688d32c9de0011da7c8808ef3d177be38 /gcc/opts.c
parent0be058dd64e6c860c9c41629b6909e3299aa0a04 (diff)
downloadgcc-fe94b6534a05d437259a17ba37e3fa50f649fe84.zip
gcc-fe94b6534a05d437259a17ba37e3fa50f649fe84.tar.gz
gcc-fe94b6534a05d437259a17ba37e3fa50f649fe84.tar.bz2
* opts.c (decode_options): Lower the crossjump threshold for -Os.
From-SVN: r89843
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 640b92e..93a10d1 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -574,6 +574,9 @@ decode_options (unsigned int argc, const char **argv)
set_param_value ("max-inline-insns-auto", 5);
set_param_value ("max-inline-insns-rtl", 10);
flag_inline_functions = 1;
+
+ /* We want to crossjump as much as possible. */
+ set_param_value ("min-crossjump-insns", 1);
}
/* Initialize whether `char' is signed. */