diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-20 04:39:45 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-20 04:39:45 +0000 |
commit | fa125df21965ad7a87f60f70a13cfcb4c74dd255 (patch) | |
tree | dbc65ac6adf4fd71e692384b7de1bdf4ea5c46fe | |
parent | 75c08f99836ec24735e2234600f165406ceba2aa (diff) | |
download | gcc-fa125df21965ad7a87f60f70a13cfcb4c74dd255.tar.gz |
PR lto/45375
* i386.c (ix86_option_override_internal): Use ix86_tune_cost
to set branch cost.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219878 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9a76dd70a12..7adefef3e02 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,12 @@ 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 * i386.c (gate): Check flag_expensive_optimizations and optimize_size. (ix86_option_override_internal): Drop optimize_size condition 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)) { |