Test case is the existing libgomp.oacc-c++/firstprivate-mappings-1.C.
* omp-low.c (convert_from_firstprivate_int):
Use VIEW_CONVERT also for vectors.
+2020-02-06 Tobias Burnus <tobias@codesourcery.com>
+
+ * omp-low.c (convert_from_firstprivate_int):
+ Use VIEW_CONVERT also for vectors.
+
2020-02-19 Julian Brown <julian@codesourcery.com>
* gimplify.cc (gimplify_scan_omp_clauses): Handle
{
tree_code code = NOP_EXPR;
- if (TREE_CODE (type) == REAL_TYPE || TREE_CODE (type) == COMPLEX_TYPE)
+ if (TREE_CODE (type) == REAL_TYPE || TREE_CODE (type) == COMPLEX_TYPE
+ || VECTOR_TYPE_P (type))
code = VIEW_CONVERT_EXPR;
if (code == VIEW_CONVERT_EXPR