[flang] Treat CHARACTER like other intrinsic types with default kind
authorTim Keith <tkeith@nvidia.com>
Mon, 17 Dec 2018 23:46:30 +0000 (15:46 -0800)
committerTim Keith <tkeith@nvidia.com>
Mon, 17 Dec 2018 23:46:30 +0000 (15:46 -0800)
commit8a1fbef21bbc188cb39b988759a354ffb27b5477
tree2be8ef841bb94623552b6febb958ce0e288004f9
parent20e2003009bf97f107057452ec2919f5baa3ec75
[flang] Treat CHARACTER like other intrinsic types with default kind

Character decl-type-specs with no kind specified had no kind written to
the .mod file. That was different from the other intrinsic types which
always have an explicit type. This change make character like the other
intrinsic types.

Original-commit: flang-compiler/f18@5b4f047a13c76e56579c1f06dbdf7b74358f16aa
Reviewed-on: https://github.com/flang-compiler/f18/pull/247
Tree-same-pre-rewrite: false
flang/lib/semantics/resolve-names.cc
flang/lib/semantics/type.cc
flang/test/semantics/modfile13.f90