re PR c/26171 (#pragma omp threadprivate requires -funit-at-a-time)
authorJakub Jelinek <jakub@redhat.com>
Wed, 26 Apr 2006 08:26:06 +0000 (10:26 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 26 Apr 2006 08:26:06 +0000 (10:26 +0200)
commit91b6c26dd2ca4426cb9dfa6faa83a984cd76bfe9
tree26149ec9ebe19726864e8d6f097d26e4391d7e77
parent07ed51c9cee029feb2ad2f8431cbdc60ed395fe3
re PR c/26171 (#pragma omp threadprivate requires -funit-at-a-time)

PR c/26171
* cgraph.c (cgraph_varpool_finalize_decl): Don't call
cgraph_varpool_assemble_pending_decls if -fopenmp, unless
cgraph_global_info_ready.

* testsuite/libgomp.c/pr26171.c: New test.

From-SVN: r113271
gcc/ChangeLog
gcc/cgraph.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr26171.c [new file with mode: 0644]