re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)
authorJan Hubicka <hubicka@ucw.cz>
Tue, 20 Jan 2015 04:39:45 +0000 (05:39 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 20 Jan 2015 04:39:45 +0000 (04:39 +0000)
PR lto/45375
* i386.c (ix86_option_override_internal): Use ix86_tune_cost
to set branch cost.

From-SVN: r219878

gcc/ChangeLog
gcc/config/i386/i386.c

index 9a76dd70a129404bc6c878947789a06f2ff37278..7adefef3e02b9df1095351f165825d50014bbcc3 100644 (file)
@@ -1,3 +1,9 @@
+2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR lto/45375
+       * i386.c (ix86_option_override_internal): Use ix86_tune_cost
+       to set branch cost.
+
 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
 
        PR lto/45375
index ef1b2883cad873dcf1620fd30a0ecfa2f7ce9128..d10d3ff36cccb289af4a224293bdff7eb038689a 100644 (file)
@@ -3919,7 +3919,7 @@ ix86_option_override_internal (bool main_args_p,
 
   /* Provide default for -mbranch-cost= value.  */
   if (!opts_set->x_ix86_branch_cost)
-    opts->x_ix86_branch_cost = ix86_cost->branch_cost;
+    opts->x_ix86_branch_cost = ix86_tune_cost->branch_cost;
 
   if (TARGET_64BIT_P (opts->x_ix86_isa_flags))
     {