[all-commits] [llvm/llvm-project] 18983d: [Flang] Don't crash when BOZ literals are on the r...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Thu Feb 23 06:58:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18983df02fdfb218a6e46620912ef1d0ebb428e9
      https://github.com/llvm/llvm-project/commit/18983df02fdfb218a6e46620912ef1d0ebb428e9
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp

  Log Message:
  -----------
  [Flang] Don't crash when BOZ literals are on the rhs of an assignment

For BOZ literals, the rhsType will be empty.  Check for that before
trying to access its value.

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




More information about the All-commits mailing list