cgraphunit.c (ipa_passes): Handle flag_generate_offload.
authorIlya Verbin <ilya.verbin@intel.com>
Fri, 28 Nov 2014 12:23:55 +0000 (12:23 +0000)
committerIlya Verbin <iverbin@gcc.gnu.org>
Fri, 28 Nov 2014 12:23:55 +0000 (12:23 +0000)
commitf0d78df9dee767b301d1820dcfef65289873ae5c
tree8ae049e61f4b3c8ed32152bf198318da139f64c4
parent0f4fe89599663cf9759cda1ecb64f0d60733c0cc
cgraphunit.c (ipa_passes): Handle flag_generate_offload.

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.

From-SVN: r218147
gcc/ChangeLog
gcc/cgraphunit.c
gcc/common.opt
gcc/dwarf2out.c
gcc/ipa-inline-analysis.c
gcc/lto-streamer.c
gcc/passes.c
gcc/toplev.c
gcc/tree.c