* opts.c (decode_options): Lower the crossjump threshold for -Os.
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 29 Oct 2004 13:08:47 +0000 (13:08 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 29 Oct 2004 13:08:47 +0000 (13:08 +0000)
From-SVN: r89843

gcc/ChangeLog
gcc/opts.c

index 1a8d78a9d6ccb014cdb40c38a9fd1204837ad28d..b88ed384f1ca8dbe9ca250220d24a7a8ebcc059d 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-29  Richard Earnshaw  <rearnsha@arm.com>
+
+       * opts.c (decode_options): Lower the crossjump threshold for -Os.
+
 2004-10-29  Diego Novillo  <dnovillo@redhat.com>
 
        * tree.h (struct tree_ssa_name): Remove field 'equiv'.
index 640b92e45ca601297df0362d3884e95b7e10e9e1..93a10d13e3551d19d041bcecbd60dc5763de2b3a 100644 (file)
@@ -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.  */