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: [PATCH][OpenMP] Fix named critical sections inside target functions


> On 21 Nov 2014, at 23:36, Jakub Jelinek <jakub@redhat.com> wrote:
> 
>> On Fri, Nov 21, 2014 at 11:19:26PM +0300, Ilya Verbin wrote:
>> Hi,
>> 
>> '#pragma omp critical (name)' can be placed in the function, marked
>> with '#pragma omp declare target', in this case the corresponding node
>> should be marked as offloadable too.
>> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
> 
> Please add a testcase for this.

By default with disabled offloading it will always PASS.  Add anyway?

  -- Ilya


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