Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[flang] Clear obsolete type from reallocated allocatable #139788

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

Merged
merged 1 commit into from
May 15, 2025

Conversation

klausler
Copy link
Contributor

When an assignment to a polymorphic allocatable changes its type to an intrinsic type, be sure to reset its descriptor's derived type pointer to null.

Fixes #136522.

When an assignment to a polymorphic allocatable changes its
type to an intrinsic type, be sure to reset its descriptor's
derived type pointer to null.

Fixes llvm#136522.
@eugeneepshteyn
Copy link
Contributor

No test?

@klausler
Copy link
Contributor Author

No test?

We're not really set up for end-to-end Fortran executable tests in the llvm-project repository.

@klausler klausler merged commit 36ccfe2 into llvm:main May 15, 2025
10 checks passed
@klausler klausler deleted the bug136522 branch May 15, 2025 18:25
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.

[Flang] Incorrect execution result of using polymorphic variable in select type construct
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.