[all-commits] [llvm/llvm-project] e47fbb: [flang] Fixed comparison for derived types constants.

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue May 16 09:51:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e47fbb7cd2d22b787d1022fd2f3bef4a051d67c8
      https://github.com/llvm/llvm-project/commit/e47fbb7cd2d22b787d1022fd2f3bef4a051d67c8
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M flang/include/flang/Evaluate/constant.h
    M flang/lib/Evaluate/constant.cpp
    M flang/test/Lower/constant-literal-mangling.f90

  Log Message:
  -----------
  [flang] Fixed comparison for derived types constants.

The two constants should be equal only if their derived types
are the same. This fixes regression caused by D150380.

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




More information about the All-commits mailing list