]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphunit.c
2017-08-24 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Aug 2017 13:41:51 +0000 (13:41 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Aug 2017 13:41:51 +0000 (13:41 +0000)
commitbe72c8665e655dc1aa0a9849a13c510ec4cc2c76
tree8e50adc3a6b6454612de0fd8e165e999f57aac98
parentf76f114649542b7c5574d9b70c2ae01a02cacb86
2017-08-24  Richard Biener  <rguenther@suse.de>

PR debug/81936
* dwarf2out.c (output_die): Handle flag_generate_offload like
flag_generate_lto.
(output_comp_unit): Likewise.
(gen_array_type_die): Likewise.
(dwarf2out_early_finish): Likewise.
(note_variable_value_in_expr): Likewise.
(dwarf2out_finish): Likewise.  Adjust assert.
* cgraphunit.c (symbol_table::compile): Move setting of
flag_generate_offload earlier ...
(symbol_table::finalize_compilation_unit): ... here, before
early debug finalization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251332 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/dwarf2out.c