Re: [PATCH] fix checking error with OpenACC reference types variables (PR85879)

2018-05-31 Thread Jakub Jelinek
On Thu, May 31, 2018 at 06:54:11AM -0700, Cesar Philippidis wrote: > 2018-05-31 Chung-Lin Tang > Cesar Philippidis > > PR middle-end/85879 > > gcc/ > * gimplify.c (gimplify_adjust_omp_clauses): Add 'remove = true' > when emitting error on private/firstprivat

[PATCH] fix checking error with OpenACC reference types variables (PR85879)

2018-05-31 Thread Cesar Philippidis
OpenACC has slightly different data semantics for reference types and pointers. Without this patch, omp-low was treating all references types like pointers which resulted in some gimple type checking errors when checking is enabled. It turned out that Chung-Lin had resolved the issue way back in go