diff options
author | iverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-28 12:23:55 +0000 |
---|---|---|
committer | iverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-28 12:23:55 +0000 |
commit | 9f28dc4c545d6e7fb80f23ac6cf28cac82625606 (patch) | |
tree | 8ae049e61f4b3c8ed32152bf198318da139f64c4 /gcc/lto-streamer.c | |
parent | 14b62468d4e322c874548fff364bcc6a533b1555 (diff) | |
download | gcc-9f28dc4c545d6e7fb80f23ac6cf28cac82625606.tar.gz |
gcc/
* cgraphunit.c (ipa_passes): Handle flag_generate_offload.
(symbol_table::compile): Set flag_generate_offload if there is something
to offload.
* common.opt (flag_generate_offload): New Variable declaration.
* dwarf2out.c (dwarf2out_finish): Handle flag_generate_offload.
* ipa-inline-analysis.c (inline_generate_summary): Do not skip if
flag_generate_offload is set.
* lto-streamer.c (gate_lto_out): Handle flag_generate_offload.
* passes.c (ipa_write_summaries): Do not skip if flag_generate_offload
is set.
* toplev.c (compile_file): Emit LTO marker if offload info has been
previously emitted. Do not emit lto_slim marker if
flag_generate_offload is without flag_generate_lto.
* tree.c (free_lang_data): Do not skip if flag_generate_offload is set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218147 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer.c')
-rw-r--r-- | gcc/lto-streamer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c index e8347dccd65..af203302243 100644 --- a/gcc/lto-streamer.c +++ b/gcc/lto-streamer.c @@ -328,7 +328,7 @@ lto_streamer_init (void) bool gate_lto_out (void) { - return ((flag_generate_lto || in_lto_p) + return ((flag_generate_lto || flag_generate_offload || in_lto_p) /* Don't bother doing anything if the program has errors. */ && !seen_error ()); } |