[all-commits] [llvm/llvm-project] 7f5426: [flang] Fix module file generation when generic sh...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jan 25 14:54:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f542662ce3edc9fbc43e1f04698ebbb47516d48
      https://github.com/llvm/llvm-project/commit/7f542662ce3edc9fbc43e1f04698ebbb47516d48
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    A flang/test/Semantics/modfile62.f90

  Log Message:
  -----------
  [flang] Fix module file generation when generic shadows derived type (#78618)

Fortran allows the name of a generic interface to be the same as the
name of a derived type or specific procedure. When this happens, it
causes the code in module file generation to miss the symbol of a
derived type when scanning for symbols in initialization expressions
that need to be imported. Fix.




More information about the All-commits mailing list