[all-commits] [llvm/llvm-project] 799107: [flang] Allow empty SEQUENCE types (#66252)

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Sep 18 12:11:49 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79910786324eca8d5a0535f6361b507c3d38f61f
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/resolve31.f90

  Log Message:
  [flang] Allow empty SEQUENCE types (#66252)

The Fortran standards require (F'2023 C745) that a derived type with the
SEQUENCE attribute have at least one component. No Fortran compiler
actually enforces this constraint. Accept this usage with a warning.

More information about the All-commits mailing list