[all-commits] [llvm/llvm-project] 488b9f: [flang] Do not ICE on recursive function definitio...

Daniil Dudkin via All-commits all-commits at lists.llvm.org
Thu Apr 21 03:16:16 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 488b9fd1030b1e75a6c3580d0a632009315e31f5
  Author: Daniil Dudkin <d.dudkin at partner.samsung.com>
  Date:   2022-04-21 (Thu, 21 Apr 2022)

  Changed paths:
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/resolve102.f90

  Log Message:
  [flang] Do not ICE on recursive function definition in function result

The following code causes the compiler to ICE in several places due to
lack of support of recursive procedure definitions through the function

  function foo() result(r)
    procedure(foo), pointer :: r
  end function foo

More information about the All-commits mailing list