Skip to content

[flang] Missing diagnostic on DECIMAL= appear with FORM='UNFORMATTED' #153480

@DanielCChen

Description

@DanielCChen

Consider the following code:

      integer :: ios

      open(1, form='unformatted', decimal='comma', iostat=ios)

      ! test 9: decimal= specifier is not allowed in unformatted i/o
      if( ios == 0 ) then
         ERROR STOP 1
      endif

      end

The decimal= specifier can only appear on formatted I/O.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions