openmp: ensure variables in offload table are streamed out (PRs 94848 + 95551)
authorTobias Burnus <tobias@codesourcery.com>
Tue, 9 Jun 2020 14:31:22 +0000 (16:31 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 9 Jun 2020 14:31:22 +0000 (16:31 +0200)
commitbf4ab2689bb586971d5b2ab6b13d078cd7ac45af
tree3b77f32e50c88fe58527027b3d80653de8de0bb6
parentac22e651efe0da924925ac33a31e5c8d73e11fef
openmp: ensure variables in offload table are streamed out (PRs 94848 + 95551)

gcc/ChangeLog:

* omp-offload.c (add_decls_addresses_to_decl_constructor,
omp_finish_file): With in_lto_p, stream out all offload-table
items even if the symtab_node does not exist.
gcc/omp-offload.c