[all-commits] [llvm/llvm-project] 6da1f2: [Flang] Fix usage of uninitialized resolution vari...

pscoro via All-commits all-commits at lists.llvm.org
Wed Apr 5 08:01:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6da1f2277dd1fbd560204c6ab0e129eb3cb0906b
      https://github.com/llvm/llvm-project/commit/6da1f2277dd1fbd560204c6ab0e129eb3cb0906b
  Author: Paul Scoropan <1paulscoropan at gmail.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M flang/lib/Semantics/expression.cpp

  Log Message:
  -----------
  [Flang] Fix usage of uninitialized resolution variable

Recent Flang PowerPC intrinsics patch used resolution variable without checking if it exists first, causing segmentation faults in some scenarios. This patch checks that the resolution variable exists first before usage.

Reviewed By: DanielCChen

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




More information about the All-commits mailing list