flang
flang copied to clipboard
Fix the bug where the `v_list` argument is not provided as a zero-sized array in some cases as required by the standard.
The standard specifies: “If there is no v-list in the edit descriptor or if the data transfer statement specifies list-directed or namelist formatting, the processor shall provide v_list as a zero-sized array.” flang fails to do this.
This patch meets the requirement by making a zero-sized array and providing it to v_list
@qiaozhang-hnc Could you fix the typo (and rebase the branch while you are at it)?
@qiaozhang-hnc Could you fix the typo (and rebase the branch while you are at it)?
The typo has been fixed and this branch has been rebased.