Skip to content

[flang] Missing diagnostic on SIGN= specifier being used on unformatted I/O #154560

@DanielCChen

Description

@DanielCChen

Consider the following code:

open(5, file='sign03.tmp', form="unformatted", sign='suppress')
end

The standard only allows the SIGN= specifier on formatted I/O as:

The SIGN= specifier is permitted only for a connection for formatted input/output.

This case should be diagnosed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    flang:frontendquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions