Re: [PATCH 12/12] always define ENABLE_OFFLOADING

2015-11-24 Thread Thomas Schwinge
Hi! On Mon, 23 Nov 2015 19:52:08 +0300, Ilya Verbin wrote: > There are 2 new uses of "#ifdef ENABLE_OFFLOADING" in c_parser_oacc_declare > and > cp_parser_oacc_declare. > I don't know how to properly test OpenACC, so here is untested patch. "make check"? ;-) (Offloading currently will happen f

Re: [PATCH 12/12] always define ENABLE_OFFLOADING

2015-11-24 Thread Bernd Schmidt
On 11/23/2015 05:52 PM, Ilya Verbin wrote: There are 2 new uses of "#ifdef ENABLE_OFFLOADING" in c_parser_oacc_declare and cp_parser_oacc_declare. I don't know how to properly test OpenACC, so here is untested patch. It's documented on the Offloading wiki page, but this patch is good enough i

Re: [PATCH 12/12] always define ENABLE_OFFLOADING

2015-11-23 Thread Ilya Verbin
On Mon, Nov 09, 2015 at 19:41:21 +0100, Bernd Schmidt wrote: > On 11/09/2015 05:47 PM, tbsaunde+...@tbsaunde.org wrote: > >-#ifdef ENABLE_OFFLOADING > >/* If the user didn't specify any, default to all configured offload > > targets. */ > >if (offload_targets == NULL) > > handle

Re: [PATCH 12/12] always define ENABLE_OFFLOADING

2015-11-09 Thread Bernd Schmidt
On 11/09/2015 05:47 PM, tbsaunde+...@tbsaunde.org wrote: -#ifdef ENABLE_OFFLOADING /* If the user didn't specify any, default to all configured offload targets. */ if (offload_targets == NULL) handle_foffload_option (OFFLOAD_TARGETS); -#endif This one I would keep guarded

[PATCH 12/12] always define ENABLE_OFFLOADING

2015-11-09 Thread tbsaunde+gcc
From: Trevor Saunders gcc/cp/ChangeLog: 2015-11-09 Trevor Saunders * parser.c (cp_parser_omp_declare_target): Adjust. gcc/ChangeLog: 2015-11-09 Trevor Saunders * configure: Regenerate. * configure.ac: Always define ENABLE_OFFLOADING. * cgraph.c (cgraph_n