Skip to content

Conversation

klausler
Copy link
Contributor

Child I/O subroutines are not supposed to use T or TL control edit descriptors in formats to move the position in the current record to a point before where it stood at the time of their calls (F'2023 12.6.4.8.3 paragraph 18), but we should also guard against attempts to do so, using the same means used to prevent such attempts in non-advancing I/O.

Fixes #158723.

Child I/O subroutines are not supposed to use T or TL
control edit descriptors in formats to move the position
in the current record to a point before where it stood at
the time of their calls (F'2023 12.6.4.8.3 paragraph 18),
but we should also guard against attempts to do so, using the
same means used to prevent such attempts in non-advancing I/O.

Fixes llvm#158723.
Copy link
Contributor

@DanielCChen DanielCChen left a comment

Choose a reason for hiding this comment

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

LGTM.
Thanks.

@klausler klausler merged commit 1b77775 into llvm:main Sep 17, 2025
10 checks passed
@klausler klausler deleted the bug158723 branch September 17, 2025 16:16
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][runtime] Namelist input failure
3 participants