https://bugs.llvm.org/show_bug.cgi?id=42068
Bug ID: 42068
Summary: Assertion `vlaSize && "no size for VLA!"` when VLA
typedef is placed outside of openmp region.
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: OpenMP
Assignee: unassignedclangb...@nondot.org
Reporter: paul.wal...@arm.com
CC: llvm-bugs@lists.llvm.org
Created attachment 22050
--> https://bugs.llvm.org/attachment.cgi?id=22050&action=edit
Original source that triggers the assertion.
The attached source file triggers the assertion `vlaSize && "no size for VLA!"`
when built with:
clang -fopenmp -c openmp-with-vla.c
There is no assertion when not using -fopenmp nor when the typedef is moved
inside the openmp region (see commented typedef).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs