flang icon indicating copy to clipboard operation
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.

Open qiaozhang-hnc opened this issue 3 years ago • 2 comments

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 avatar Jun 05 '21 09:06 qiaozhang-hnc

@qiaozhang-hnc Could you fix the typo (and rebase the branch while you are at it)?

bryanpkc avatar Jul 27 '22 12:07 bryanpkc

@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.

qiaozhang-hnc avatar Jul 28 '22 06:07 qiaozhang-hnc