This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR80029
- From: Cesar Philippidis <cesar at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 22 Mar 2017 06:48:09 -0700
- Subject: Re: [PATCH] Fix PR80029
- Authentication-results: sourceware.org; auth=none
- References: <278ce4b7-cc02-453b-10fc-8094e9078d9a@codesourcery.com> <20170322134249.GE11094@tucnak>
On 03/22/2017 06:42 AM, Jakub Jelinek wrote:
>> 2017-03-22 Cesar Philippidis <cesar@codesourcery.com>
>>
>> PR c++/80029
>>
>> gcc/
>> * gimplify.c (is_oacc_declared): New function.
>> (oacc_default_clause): Use it to set default flags for acc declared
>> variables inside parallel regions.
>> (gimplify_scan_omp_clauses): Strip firstprivate pointers for acc
>> declared variables.
>> (gimplify_oacc_declare): Gimplify the declare clauses. Add the
>> declare attribute to any decl as necessary.
>>
>> libgomp/
>> * testsuite/libgomp.oacc-c-c++-common/declare-vla.c: New test.
>
> Ok if testing passed.
Yes it did. By the way, is there a way to automate valgrind testing, or
is that something that require manual inspection?
Cesar