[Openmp-commits] [PATCH] D48282: [OMPT] Interoperability testcase is expected to fail with icc

Hansang Bae via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jun 20 07:02:58 PDT 2018


hbae added inline comments.


================
Comment at: runtime/test/ompt/misc/interoperability.cpp:13
 
 void f() {
   // Call OpenMP API function to force initialization of OMPT.
----------------
Can you try to insert an `alloca()` call here? It can force using the frame pointer in many cases (compilers).
```
void *p = alloca(0);
```


https://reviews.llvm.org/D48282





More information about the Openmp-commits mailing list