]> git.ipfire.org Git - thirdparty/gcc.git/commit
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>
Mon, 15 Jun 2020 09:06:18 +0000 (11:06 +0200)
commit0a76844b5d2db59768835318d001aa6548265cd1
treec771147740e6bf854580682edb87779dee74774c
parent9074deee2c5039ff26c8587cc598bc658d8ff32f
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.

(cherry picked from commit bf4ab2689bb586971d5b2ab6b13d078cd7ac45af)
gcc/omp-offload.c