-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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] fatal internal error: CHECK(GetRank(*shape) == 1) failed in flang/lib/Evaluate/shape.cpp #121971
Labels
Comments
EugeneZelenko
added
flang:frontend
crash
Prefer [crash-on-valid] or [crash-on-invalid]
and removed
flang
Flang issues not falling into any other category
labels
Jan 7, 2025
@llvm/issue-subscribers-flang-frontend Author: yype (yype)
Hi there, flang crashes from an assertion failure on the following test case:
SUBROUTINE sub00(a,b,n,m)
real(2) n,m
integer(1) a(n,m), b(n,m)
b = a ** b
DO 10 j = 1,m
a = a(a,j) - b(i,j)
10 PRINT *, g
END SUBROUTINE sub00 Tested version(s): 19.1.0, trunk. Example: https://godbolt.org/z/68d8ErTba Stack dump: <details>
</details> The test case was generated by a fuzzer. |
I think the following is a minimal reproducer: integer a(1,1)
a = a(a,1)
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Hi there, flang crashes from an assertion failure on the following test case:
Tested version(s): 19.1.0, trunk.
Example: https://godbolt.org/z/68d8ErTba
Stack dump:
Click me
The test case was generated by a fuzzer.
The text was updated successfully, but these errors were encountered: