Skip to content

[flang] Missing diagnostic on incorrect KIND value of intrinsic ACHAR #131911

@DanielCChen

Description

@DanielCChen

Consider the following case:

           integer :: k1

           k1 = kind(achar(88, 2))

END

2 is not a correct KIND value.
All ifort, gfortran and XLF issue an error message

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