diff options
author | Cesar Philippidis <cesar@gcc.gnu.org> | 2017-03-22 06:52:10 -0700 |
---|---|---|
committer | Cesar Philippidis <cesar@gcc.gnu.org> | 2017-03-22 06:52:10 -0700 |
commit | 7ba8651ed253b29ee17a0d735cc74eac1b826492 (patch) | |
tree | d6411b1c55001c5719c4dc9933386850cae58c7f /gcc/fortran/frontend-passes.c | |
parent | bf634d1c4c9cc3cd3a4523ab4178b94398892ded (diff) | |
download | gcc-7ba8651ed253b29ee17a0d735cc74eac1b826492.zip gcc-7ba8651ed253b29ee17a0d735cc74eac1b826492.tar.gz gcc-7ba8651ed253b29ee17a0d735cc74eac1b826492.tar.bz2 |
re PR c++/80029 (valgrind error in new_omp_context(omp_region_type) (gimplify.c:400))
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.
From-SVN: r246381
Diffstat (limited to 'gcc/fortran/frontend-passes.c')
0 files changed, 0 insertions, 0 deletions