Skip to content
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

ASR->LLVM: handle association to PointerNullConstant by creating just a store #4785

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

gxyd
Copy link
Contributor

@gxyd gxyd commented Sep 12, 2024

Fixes the MRE present in #4738 (comment)

program associate_07
   integer, pointer :: p1 => null()
end program

Handles codegen error for associate_07.f90. This change is needed in the first place because of how simplifier pass converts m_value to an association (for pointer variables).

Hence we've a Associate node for the MRE in #4738 (comment)

@certik certik enabled auto-merge September 12, 2024 14:54
@certik certik merged commit e1524c2 into lfortran:simplifier_pass Sep 12, 2024
30 checks passed
@gxyd gxyd deleted the associate_07_fix branch September 13, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants