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

Fix bugs with Implied DO #1445

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

bryanpkc
Copy link
Collaborator

This PR fixes #1444. With these patches, I have verified that libmbd builds successfully on both AArch64 and X86, although I haven't tested the correctness of the resulting library.

Copy link
Collaborator

@pawosm-arm pawosm-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this, LGTM

LittleMeepo and others added 2 commits May 15, 2024 08:52
Add support for implied DO loop with substring in initialization.
The variables in a common block from a module will be copied into
current scope when a USE exists. However, the dinit feature of those
copied variables was removed when lowering symbols in flang1. This
patch suppresses the transformation of those copied variables to the
corresponding constant initialized in the common block, since we cannot
get their initialization info anyway.
@bryanpkc bryanpkc merged commit 3de1cba into flang-compiler:master Jun 12, 2024
10 checks passed
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.

ICE while building libmbd
4 participants