[all-commits] [llvm/llvm-project] 5727df: [flang] Specific procedures named the same as the ...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Mon Mar 22 10:53:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5727df2714985f53b2794e9672865554612cc155
      https://github.com/llvm/llvm-project/commit/5727df2714985f53b2794e9672865554612cc155
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

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

  Log Message:
  -----------
  [flang] Specific procedures named the same as the generic and a derived type

If you specify a specific procedure of a generic interface that has the same
name as both the generic interface and a preceding derived type, the compiler
would fail an internal call to CHECK().  I fixed this by testing for this
situation when processing specific procedures.  I also added a test that will
cause the call to CHECK() to fail without this new code.

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




More information about the All-commits mailing list