-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
[flang] Crash on nested PDT with len parameter #63198
Labels
bug
Indicates an unexpected problem or unintended behavior
crash
Prefer [crash-on-valid] or [crash-on-invalid]
flang:frontend
Comments
EugeneZelenko
added
crash
Prefer [crash-on-valid] or [crash-on-invalid]
flang
Flang issues not falling into any other category
and removed
new issue
labels
Jun 8, 2023
@llvm/issue-subscribers-flang-frontend |
@llvm/issue-subscribers-bug |
klausler
added a commit
that referenced
this issue
Jun 22, 2023
When a LEN type parameter of one PDT is being used as the value of a LEN type parameter in another PDT, expression rewriting can loop infinitely due to an incorrect assumption that the same PDT's parameters are being referenced. Fixes LLVM bug #63198 Differential Revision: https://reviews.llvm.org/D153465
Fix merged. |
Thanks! |
Chenyang-L
pushed a commit
to intel/llvm
that referenced
this issue
Jul 11, 2023
When a LEN type parameter of one PDT is being used as the value of a LEN type parameter in another PDT, expression rewriting can loop infinitely due to an incorrect assumption that the same PDT's parameters are being referenced. Fixes LLVM bug llvm/llvm-project#63198 Differential Revision: https://reviews.llvm.org/D153465
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Indicates an unexpected problem or unintended behavior
crash
Prefer [crash-on-valid] or [crash-on-invalid]
flang:frontend
Running Flang-new on the source file below results in an illegal instruction:
It appears to be infinite recursion in
FoldOperation(FoldingContext &, TypeParamInquiry &&)
Source file:
This is based on an example from the Fortran discourse:
https://fortran-lang.discourse.group/t/working-with-parameterised-derived-type-containing-array-of-parameterised-derived-type/5823
The text was updated successfully, but these errors were encountered: