[all-commits] [llvm/llvm-project] 8f4143: [flang] Disallow BOZ literal constants as argument...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Mon Jul 26 15:07:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f41431654fedac4a5ad2751056a611bfc7751f0
      https://github.com/llvm/llvm-project/commit/8f41431654fedac4a5ad2751056a611bfc7751f0
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M flang/lib/Semantics/check-call.cpp
    M flang/test/Semantics/boz-literal-constants.f90

  Log Message:
  -----------
  [flang] Disallow BOZ literal constants as arguments of implicit interfaces

Since BOZ literal arguments are typeless, we cannot know how to pass them as
actual arguments to procedures with implicit interfaces.  This change avoids
the problem by emitting an error message in such situations.

This change stemmed from the following issue --
  https://github.com/flang-compiler/f18-llvm-project/issues/794

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




More information about the All-commits mailing list