[PATCH] D40752: [OpenMP] Fix assert fail after target implicit map checks
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 5 09:43:40 PST 2017
ABataev added a comment.
In https://reviews.llvm.org/D40752#945234, @jdenny wrote:
> r319774 works for my current use cases. Thanks.
>
> While we're on this topic, do you happen to know the rationale behind the OpenMP restriction for which err_omp_union_type_not_allowed diagnoses violations? I googled but couldn't find the rationale. If you would prefer that I ask this in a different forum, would you please suggest one? Thanks.
Ahh, and in your example, there is a problem in the compiler. We should map the whole union implicitly. I'll fix this
https://reviews.llvm.org/D40752
More information about the cfe-commits
mailing list