From fe94b6534a05d437259a17ba37e3fa50f649fe84 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Fri, 29 Oct 2004 13:08:47 +0000 Subject: [PATCH] * opts.c (decode_options): Lower the crossjump threshold for -Os. From-SVN: r89843 --- gcc/ChangeLog | 4 ++++ gcc/opts.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1a8d78a9d6c..b88ed384f1c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-10-29 Richard Earnshaw + + * opts.c (decode_options): Lower the crossjump threshold for -Os. + 2004-10-29 Diego Novillo * tree.h (struct tree_ssa_name): Remove field 'equiv'. diff --git a/gcc/opts.c b/gcc/opts.c index 640b92e45ca..93a10d13e35 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. */ -- 2.30.2