-
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] stack-overflow in Fortran::evaluate::GetShapeHelper::CreateShape #122002
Comments
Here is another test case that crashes flang a bit earlier at SUBROUTINE sub00(a,b,n,m)
complex(2) n,m
complex(3) a(n,m), b(size((LOG ((x * (a) - a + b / a - a))+1 - x)))
a = a ** n
DO 10 j = 1,m
a = n ** a
10 PRINT *, g
END SUBROUTINE sub00 |
@llvm/issue-subscribers-flang-frontend Author: yype (yype)
Hi there, flang crashes from a stack-overflow on the following test case:
complex, parameter :: n(n)
end Tested version(s): 19.1.0, trunk (ASAN build) This test case can crash flang without the presence of ASAN: https://godbolt.org/z/GMz8xbf39 Partial ASAN dump: <details>
</details> The test case was generated by a fuzzer. |
Fixes llvm#122002. The compiler now survives both of the test cases in that bug report.
Hi there, flang crashes from a stack-overflow on the following test case:
Tested version(s): 19.1.0, trunk (ASAN build)
This test case can crash flang without the presence of ASAN: https://godbolt.org/z/GMz8xbf39
Partial ASAN dump:
Click me
The test case was generated by a fuzzer.
The text was updated successfully, but these errors were encountered: