[clang] [Clang][OpenMP] Fix crash with captured pointer-to-VLA in outlined regions (PR #182480)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 24 04:48:44 PDT 2026


================
@@ -0,0 +1,9 @@
+// RUN: %clang -x c++ -std=c++20 -emit-llvm -S %s -o %t.ll
+// RUN: %clang -x c++ -fopenmp -std=c++20 -emit-llvm -S %s -o %t.ll
----------------
AaronBallman wrote:

```suggestion
// RUN: %clang_cc1 -std=c++20 -emit-llvm -S %s -o %t.ll
// RUN: %clang_cc1 -fopenmp -std=c++20 -emit-llvm -S %s -o %t.ll
```

https://github.com/llvm/llvm-project/pull/182480


More information about the cfe-commits mailing list