This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp4.1] Handle new form of #pragma omp declare target


On Mon, Nov 02, 2015 at 07:54:17PM +0300, Ilya Verbin wrote:
> Here is the patch.
> make check RUNTESTFLAGS=gomp.exp and check-target-libgomp passed.
> OK for gomp-4_5-branch?
> 
> 
> gcc/c/
> 	* c-parser.c: Include context.h.
> 	(c_parser_omp_declare_target): If decl has "omp declare target" or
> 	"omp declare target link" attribute, and cgraph or varpool node already
> 	exists, then set corresponding flags.
> gcc/cp/
> 	* parser.c: Include context.h.
> 	(cp_parser_omp_declare_target): If decl has "omp declare target" or
> 	"omp declare target link" attribute, and cgraph or varpool node already
> 	exists, then set corresponding flags.
> libgomp/
> 	* testsuite/libgomp.c++/target-13.C: Add global variable with "omp
> 	declare target (<list>)" directive, use it in foo.
> 	* testsuite/libgomp.c/target-28.c: Likewise.

Yes, thanks.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]