[all-commits] [llvm/llvm-project] 0363a1: [flang] Fix bogus error from assignment to CLASS(*)

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Mar 25 11:17:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0363a164b6962eaab2784106f2d92c9e75fbeecc
      https://github.com/llvm/llvm-project/commit/0363a164b6962eaab2784106f2d92c9e75fbeecc
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-03-25 (Fri, 25 Mar 2022)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/test/Semantics/resolve63.f90
    M flang/test/Semantics/selecttype03.f90

  Log Message:
  -----------
  [flang] Fix bogus error from assignment to CLASS(*)

Assignment semantics was coughing up bad errors and crashes for
intrinsic assignments to unlimited polymorphic entities while
looking for any (impossible) user defined ASSIGNMENT(=) generic
or intrinsic type conversion.

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




More information about the All-commits mailing list