* opts.c (decode_options): Lower the crossjump threshold for -Os.
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Oct 2004 13:08:47 +0000 (13:08 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Oct 2004 13:08:47 +0000 (13:08 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89843 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/opts.c

index 1a8d78a..b88ed38 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 640b92e..93a10d1 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.  */