[all-commits] [llvm/llvm-project] 1f17a8: [flang] Add one missed semantic check for named co...

PeixinQiao via All-commits all-commits at lists.llvm.org
Wed Jun 8 09:45:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f17a8978c32af4b65615d32f367c341bacb4770
      https://github.com/llvm/llvm-project/commit/1f17a8978c32af4b65615d32f367c341bacb4770
  Author: PeixinQiao <qiaopeixin at huawei.com>
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/declarations01.f90

  Log Message:
  -----------
  [flang] Add one missed semantic check for named constant in common block

As Fortran 2018 R874, common block object must be one variable name, which
cannot be one named constant. Add this check.

Reviewed By: klausler

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




More information about the All-commits mailing list