[all-commits] [llvm/llvm-project] 0ba2a3: [flang] Replace negative known CHARACTER length wi...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 23 12:22:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ba2a3c44f02ca6b31c339ee6e5dacbd9b8573a8
      https://github.com/llvm/llvm-project/commit/0ba2a3c44f02ca6b31c339ee6e5dacbd9b8573a8
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

  Changed paths:
    M flang/include/flang/Evaluate/type.h
    M flang/lib/Evaluate/type.cpp
    M flang/test/Semantics/separate-mp02.f90

  Log Message:
  -----------
  [flang] Replace negative known CHARACTER length with zero in type analysis

When a DynamicType for CHARACTER has a known length, correct a negative
length value to its effective length of zero so that all such types
compare equal in interface compatibility checking.

Differential Revision: https://reviews.llvm.org/D134405




More information about the All-commits mailing list