Force output of vars with "omp declare target" attribute in gcc/varpool.c
authorIlya Verbin <ilya.verbin@intel.com>
Wed, 10 Dec 2014 20:52:10 +0000 (20:52 +0000)
committerIlya Verbin <iverbin@gcc.gnu.org>
Wed, 10 Dec 2014 20:52:10 +0000 (20:52 +0000)
commit2354caecd9cbf380d7451769aa5cf25080fa3a3e
tree8841eb668cfea73c85c62faccb4a57c31e68a65a
parentc44f74e4cb760a204865655d2abc80276d7b6c4e
Force output of vars with "omp declare target" attribute in gcc/varpool.c

gcc/
* varpool.c (varpool_node::get_create): Force output of vars with
"omp declare target" attribute.
libgomp/
* testsuite/libgomp.c/target-9.c: New test.

From-SVN: r218607
gcc/ChangeLog
gcc/varpool.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/target-9.c [new file with mode: 0644]