[all-commits] [llvm/llvm-project] 6ada49: [flang] Fix potential null scope when lowering dis...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Feb 3 01:17:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ada493035efcd1e90e8e062595c478babe7cd18
      https://github.com/llvm/llvm-project/commit/6ada493035efcd1e90e8e062595c478babe7cd18
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/dispatch.f90

  Log Message:
  -----------
  [flang] Fix potential null scope when lowering dispatch table op

Similary to D140209, the scope might need to be retrieved
from the typeSymbol. The test code was crashing because the
scope passed to CollectBindings was initially null.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list