[patch] fix openacc data clause errors in c/c++ for PR70688

Cesar Philippidis cesar@codesourcery.com
Fri Apr 22 14:07:00 GMT 2016


This patch makes the c and c++ FEs aware that acc data clauses are not
omp maps. I've also taught those FEs that reduction clauses are not data
clauses in openacc, which fixes PR70688.

I don't really like how *finish_omp_clauses has default arguments for
declare_simd, is_cilk and not is_oacc, but I went with that because it
seems like the thing to do here. Maybe it would be better if all of
those arguments were consolidated into a single bitmask or enum?

Is this OK for trunk and possibly gcc-6.2?

Cesar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr70688-20160421.diff
Type: text/x-patch
Size: 28536 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160422/8e349ceb/attachment.bin>


More information about the Gcc-patches mailing list