varpool.c (varpool_node::get_create): Don't set 'offloadable' flag for the external...
authorIlya Verbin <ilya.verbin@intel.com>
Fri, 13 Mar 2015 13:30:26 +0000 (13:30 +0000)
committerIlya Verbin <iverbin@gcc.gnu.org>
Fri, 13 Mar 2015 13:30:26 +0000 (13:30 +0000)
commitdb397e2e5a10965e953ce1801511c55fe8042295
treef625bcbcacaa7aca60c5598632cbd58e1847f345
parentd3ef4bd61fdcc491c39249dd256c3733f45219b9
varpool.c (varpool_node::get_create): Don't set 'offloadable' flag for the external decls.

gcc/
* varpool.c (varpool_node::get_create): Don't set 'offloadable' flag for
the external decls.
libgomp/
* testsuite/libgomp.fortran/declare-target-1.f90: New test.
* testsuite/libgomp.fortran/declare-target-2.f90: New file.

From-SVN: r221421
gcc/ChangeLog
gcc/varpool.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/declare-target-1.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/declare-target-2.f90 [new file with mode: 0644]