-
Notifications
You must be signed in to change notification settings - Fork 137
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
[Debug] Assertion failure in llvm #781
Comments
@jiel-nv Can you take a look at this? It may be fixed in a set of changes that are not yet in Flang. @kiranchandramohan says this LLVM assertion failure happens with other cases as well. |
@gklimowicz Do you have an update on this issue? Please let me know if you need additional info. I would like to know,
|
I'm not able to reproduce the reported assertion failure. And the debug support for allocatable in derived types is working in progress. |
I am able to reproduce the issue with the following build script. The script builds LLVM with assertions and builds flang with FLANG_LLVM_EXTENSIONS. Note: You will have to exclude/revert the last PR merge to avoid a build failure.
|
Investigated, once the debug info support for allocatable in derived type gets merged in (currently in queue), this issue will be resolved. |
Thanks @jiel-nv. |
I can confirm that the assertion failure has been fixed. Thanks @gklimowicz, @jiel-nv. |
Compiling the following code with "-g" leads to assertion failure on the release_70 branch of LLVM.
The assertion failure is likely due to DIFortranSubrange taking a DIDerivedType for lowerBound and upperBound instead of a DIVariable.
Note:
a322f86
65863b1
The text was updated successfully, but these errors were encountered: