gcc/
commit9f28dc4c545d6e7fb80f23ac6cf28cac82625606
authoriverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Nov 2014 12:23:55 +0000 (28 12:23 +0000)
committeriverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Nov 2014 12:23:55 +0000 (28 12:23 +0000)
tree8ae049e61f4b3c8ed32152bf198318da139f64c4
parent14b62468d4e322c874548fff364bcc6a533b1555
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
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