[PATCH] D100673: [OPENMP]Fix PR49698: OpenMP declare mapper causes segmentation fault.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 1 16:00:30 PDT 2021


ABataev added inline comments.


================
Comment at: openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers_array.cpp:54
+         sa[1].f.b == &x[0] ? 1 : 0);
+  // CHECK: 111 222 777 20.00000 1
+
----------------
cchen wrote:
> Do we really expect `sa[1].f.b` be the same as `&x[0]`? Shouldn't `sa[1].f.b` be the same as `&y[0]`?
Yes, looks so, missed it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100673/new/

https://reviews.llvm.org/D100673



More information about the cfe-commits mailing list