[all-commits] [llvm/llvm-project] 60e359: [flang] Fix one regression failure related to BIND...

PeixinQiao via All-commits all-commits at lists.llvm.org
Wed Jun 15 06:11:16 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60e359943bfc22155cd239c9b40b3e4c41026915
  Author: PeixinQiao <qiaopeixin at huawei.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/declarations03.f90

  Log Message:
  [flang] Fix one regression failure related to BIND(C) statement

For BIND(C) statement, two common block with the same name can have the
same bind name. Fix the regression failure by adding this check. Also add
the regression tests.

Co-authored-by: Jean Perier <jperier at nvidia.com>

Reviewed By: clementval

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

More information about the All-commits mailing list