-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when parsing #pragma omp task
and [[omp::directive(task)]]
#116258
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
clang:openmp
OpenMP related changes to Clang
crash
Prefer [crash-on-valid] or [crash-on-invalid]
Comments
EugeneZelenko
added
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash
Prefer [crash-on-valid] or [crash-on-invalid]
clang:openmp
OpenMP related changes to Clang
and removed
new issue
labels
Nov 14, 2024
@llvm/issue-subscribers-clang-frontend Author: None (Gian-Laager)
Crash when it encounters this `#pragma`
```
#pragma omp task
{
leftNode =
build_up_quad_tree_split(maxDepth - (splitDir == SplitDir::Y),
leftBodies,
switch_split_dir(splitDir),
numBodiesThreshold);
}
```
if I remove the pragma it compiles just fine, but the same/similar crash also happens with the `[[omp::directive(task)]]` syntax.
Here's the full stdout:
and the sources and run scripts: In case it's helpful I could also push the code base to GitHub since it's just a side project. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
clang:openmp
OpenMP related changes to Clang
crash
Prefer [crash-on-valid] or [crash-on-invalid]
Crash when it encounters this
#pragma
if I remove the pragma it compiles just fine, but the same/similar crash also happens with the
[[omp::directive(task)]]
syntax.Here's the full stdout:
and the sources and run scripts:
report.zip
In case it's helpful I could also push the code base to GitHub since it's just a side project.
The text was updated successfully, but these errors were encountered: