[all-commits] [llvm/llvm-project] bb59b3: [flang] Any type can appear in a structure constru...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jan 13 10:37:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb59b38e87f86258f074bc14bff7e2b064ab048c
      https://github.com/llvm/llvm-project/commit/bb59b38e87f86258f074bc14bff7e2b064ab048c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/structconst01.f90

  Log Message:
  -----------
  [flang] Any type can appear in a structure constructor for an unlimited polymorphic allocatable component

A bogus error message is appearing for structure constructors containing
values that correspond to unlimited polymorphic allocatable components.
A value of any type can actually be used.

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




More information about the All-commits mailing list