[flang-commits] [flang] [flang][debug] Improve name generation for basic types. (PR #161361)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Tue Sep 30 09:11:53 PDT 2025
kparzysz wrote:
Flang doesn't use the * notation when it has to print the type name (e.g. in a diagnostic message). For example, it prints [`LOGICAL(4)`](https://github.com/llvm/llvm-project/blob/main/flang/test/Semantics/atomic06.f90#L58) for a declaration "logical :: non_scalar". This notation doesn't use "kind=", but I think "kind=" integrates better with other type parameters (like "len=": `character(kind=1,len=10) :: x`).
https://github.com/llvm/llvm-project/pull/161361
More information about the flang-commits
mailing list