From: Jan Hubicka Date: Tue, 20 Jan 2015 04:39:45 +0000 (+0100) Subject: re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5fcfb6df9ad330f16233739216eca00ee7efa1f;p=gcc.git re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO) PR lto/45375 * i386.c (ix86_option_override_internal): Use ix86_tune_cost to set branch cost. From-SVN: r219878 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9a76dd70a12..7adefef3e02 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-01-19 Jan Hubicka + + PR lto/45375 + * i386.c (ix86_option_override_internal): Use ix86_tune_cost + to set branch cost. + 2015-01-19 Jan Hubicka PR lto/45375 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index ef1b2883cad..d10d3ff36cc 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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)) {