diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-11-19 23:52:19 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-11-19 23:52:19 +0000 |
commit | e9f67e625c2a4225a7169d7220dcb85b6fdd7ca9 (patch) | |
tree | ca581c04c35f2fc7a4c15d7889bcc9c11cfc2a8a /gcc/opts.c | |
parent | 0ab6c9a9bb90ec65ffcda9dd4c05d92034b1af4a (diff) | |
download | gcc-e9f67e625c2a4225a7169d7220dcb85b6fdd7ca9.zip gcc-e9f67e625c2a4225a7169d7220dcb85b6fdd7ca9.tar.gz gcc-e9f67e625c2a4225a7169d7220dcb85b6fdd7ca9.tar.bz2 |
common.opt (ffat-lto-objects): Disable by default.
* common.opt (ffat-lto-objects): Disable by default.
* doc/invoke.texi (fat-lto-objects): Update documentation.
* opts.c: Enable fat-lto-objects on lto plugin disable setups.
From-SVN: r205065
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -493,6 +493,7 @@ static const struct default_options default_options_table[] = { OPT_LEVELS_2_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_CHEAP }, { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_foptimize_strlen, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fhoist_adjacent_loads, NULL, 1 }, + { OPT_LEVELS_2_PLUS, OPT_fipa_sem_equality, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fisolate_erroneous_paths, NULL, 1 }, /* -O3 optimizations. */ @@ -809,8 +810,12 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, error_at (loc, "LTO support has not been enabled in this configuration"); #endif if (!opts->x_flag_fat_lto_objects && !HAVE_LTO_PLUGIN) - error_at (loc, "-fno-fat-lto-objects are supported only with linker plugin."); -} + { + if (opts_set->x_flag_fat_lto_objects) + error_at (loc, "-fno-fat-lto-objects are supported only with linker plugin."); + opts->x_flag_fat_lto_objects = 1; + } + } if ((opts->x_flag_lto_partition_balanced != 0) + (opts->x_flag_lto_partition_1to1 != 0) + (opts->x_flag_lto_partition_none != 0) >= 1) { |