[all-commits] [llvm/llvm-project] 145712: [flang] Allow forward reference to non-default INT...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed May 28 14:01:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 145712555f6cbcfb4c7e07d5ee3459570c2a581a
      https://github.com/llvm/llvm-project/commit/145712555f6cbcfb4c7e07d5ee3459570c2a581a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Support/Fortran-features.h
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/OpenMP/linear-clause01.f90
    M flang/test/Semantics/resolve103.f90

  Log Message:
  -----------
  [flang] Allow forward reference to non-default INTEGER dummy (#141254)

A dummy argument with an explicit INTEGER type of non-default kind can
be forward-referenced from a specification expression in many Fortran
compilers. Handle by adding type declaration statements to the initial
pass over a specification part's declaration constructs. Emit an
optional warning under -pedantic.

Fixes https://github.com/llvm/llvm-project/issues/140941.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list