-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[Clang][OpenMP] Clang crashes with OpenMP reduction pragma #77535
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
Comments
@llvm/issue-subscribers-clang-codegen Author: Raymond Chang (rkchang)
I simplified the arguments a bit and ran it through godbolt: https://godbolt.org/z/W6Y587bKK
Here's the original:
Run script
|
@llvm/issue-subscribers-openmp Author: Raymond Chang (rkchang)
I simplified the arguments a bit and ran it through godbolt: https://godbolt.org/z/W6Y587bKK
Here's the original:
Run script
|
It looks like the feature is not supported yet but it should never crash. |
Hi! This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below. |
@llvm/issue-subscribers-good-first-issue Author: Raymond Chang (rkchang)
I simplified the arguments a bit and ran it through godbolt: https://godbolt.org/z/W6Y587bKK
Here's the original:
Run script
|
@llvm/issue-subscribers-clang-codegen Author: Raymond Chang (rkchang)
I simplified the arguments a bit and ran it through godbolt: https://godbolt.org/z/W6Y587bKK
Here's the original:
Run script
|
I'm new to LLVM and interested in working on this issue. Should it result in a compilation error? |
Yes. |
…ScopeDirectiveClass case (llvm#77535)
I have transformed this assertion into an error. Should I also write a test case for it? In addition, I have noticed that there are four other assertions due to features not being supported yet. I'm uncertain how to reproduce these assertions. Should I also convert these into errors? |
Yes, get a test case when you submit your PR. I'd prefer to keep them separated. |
I simplified the arguments a bit and ran it through godbolt: https://godbolt.org/z/W6Y587bKK
Here's the original:
Preprocessed source
Run script
The text was updated successfully, but these errors were encountered: