[all-commits] [llvm/llvm-project] 2503f2: [flang] Accept TYPE(intrinsic type) in declaration...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Apr 14 18:19:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2503f286486c1f545d22dd03923478727946caf4
https://github.com/llvm/llvm-project/commit/2503f286486c1f545d22dd03923478727946caf4
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-04-14 (Thu, 14 Apr 2022)
Changed paths:
M flang/docs/Extensions.md
M flang/lib/Parser/Fortran-parsers.cpp
Log Message:
-----------
[flang] Accept TYPE(intrinsic type) in declarations only for non-extension type
To avoid clashing with names of user derived types, the redundant
syntax TYPE(intrinsic type spec) must be interpreted as a monomorphic
derived type when "intrinsic type spec" is a single word. This
affects TYPE(BYTE) and TYPE(DOUBLECOMPLEX), but not TYPE(DOUBLE COMPLEX)
in free form source.
Differential Revision: https://reviews.llvm.org/D123724
More information about the All-commits
mailing list