[all-commits] [llvm/llvm-project] 918a6b: [flang] Fix bug with generic and homonymous specif...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jun 22 07:46:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 918a6bb88acf14ea0eaafd8d787f3bef0b386c6c
      https://github.com/llvm/llvm-project/commit/918a6bb88acf14ea0eaafd8d787f3bef0b386c6c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-06-22 (Thu, 22 Jun 2023)

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

  Log Message:
  -----------
  [flang] Fix bug with generic and homonymous specific module procedure

An unconditional EraseSymbol() call was deleting a generic interface symbol
when the generic had a module procedure of the same name as a specific
procedure, and the module procedure's definition appeared in the same
module.  Also clean up some applications of the MODULE attribute to
symbols created along the way.

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




More information about the All-commits mailing list