Skip to content

Conversation

klausler
Copy link
Contributor

Don't let "hitSlash_" flag in child input propagate back to the parent input statement's state when the child input was NAMELIST and the NAMELIST input has properly consumed the terminal '/' character. (It can get set if NAMELIST item input ran into it.) The current failure to reset that flag is causing list-directed parent input to stop early.

Fixes #159127.

Don't let "hitSlash_" flag in child input propagate back to the
parent input statement's state when the child input was NAMELIST
and the NAMELIST input has properly consumed the terminal '/'
character.  (It can get set if NAMELIST item input ran into it.)
The current failure to reset that flag is causing list-directed
parent input to stop early.

Fixes llvm#159127.
@klausler klausler merged commit ae46b9e into llvm:main Sep 17, 2025
10 checks passed
@klausler klausler deleted the bug159127 branch September 17, 2025 16:17
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] DTIO failure with namelist input

2 participants