diff options
author | Andi Kleen <ak@linux.intel.com> | 2011-09-27 14:36:48 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2011-09-27 14:36:48 +0000 |
commit | cc8547a776d53c324e8edc19a143a1ac75e7ca0a (patch) | |
tree | 6a51259b773d6ffc2a40c93fe609a3331fd17b5f /gcc/opts.c | |
parent | 3019bbaeb3c0156d6e9ca646850a99054963301a (diff) | |
download | gcc-cc8547a776d53c324e8edc19a143a1ac75e7ca0a.zip gcc-cc8547a776d53c324e8edc19a143a1ac75e7ca0a.tar.gz gcc-cc8547a776d53c324e8edc19a143a1ac75e7ca0a.tar.bz2 |
invoke.texi (ffat-lto-objects): Document.
* doc/invoke.texi (ffat-lto-objects): Document.
* toplev.c (compile_file): Do not output assembly when doing slim lto;
Output __gnu_slim_lto when doing slim lto.
* cgraphunit.c (ipa_passes): Do only analysis when producing slim lto.
(cgraph_optimize): Return early when doing slim lto.
* opts.c (finish_options): Complain about lack of linker plugin
when doing slim lto.
* common.opt (ffat-lto-objects): New.
Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r179271
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -779,7 +779,9 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, #else 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->x_flag_lto_partition_balanced != 0) + (opts->x_flag_lto_partition_1to1 != 0) + (opts->x_flag_lto_partition_none != 0) >= 1) { |