[all-commits] [llvm/llvm-project] 48b6f5: [flang] Add some semantic checks for derived type ...

PeixinQiao via All-commits all-commits at lists.llvm.org
Tue Aug 2 08:08:49 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48b6f5c708ccf99ee18b68ca547c034606ed3493
  Author: Peixin Qiao <qiaopeixin at huawei.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/bind-c06.f90
    M flang/test/Semantics/modfile11.f90

  Log Message:
  [flang] Add some semantic checks for derived type with BIND attribute

This supports checks in C1801-C1805 for derived type with BIND attribute.
The other compilers such as 'gfortran' and 'ifort' do not report error
for C1802 and C1805, so emit warnings for them.

Reviewed By: klausler

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

More information about the All-commits mailing list