[all-commits] [llvm/llvm-project] 0c0b2e: [flang] Check procedure pointer initializations; c...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 29 15:09:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c0b2ea98816067aea43f38892e5901c74271d40
      https://github.com/llvm/llvm-project/commit/0c0b2ea98816067aea43f38892e5901c74271d40
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M flang/include/flang/Evaluate/characteristics.h
    M flang/include/flang/Evaluate/shape.h
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Evaluate/shape.cpp
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Evaluate/variable.cpp
    M flang/lib/Lower/ConvertType.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/data-to-inits.cpp
    M flang/lib/Semantics/pointer-assignment.cpp
    M flang/lib/Semantics/pointer-assignment.h
    M flang/test/Semantics/block-data01.f90
    M flang/test/Semantics/c_loc01.f90
    M flang/test/Semantics/call02.f90
    M flang/test/Semantics/call09.f90
    M flang/test/Semantics/io11.f90
    M flang/test/Semantics/modfile49.f90
    M flang/test/Semantics/procinterface01.f90
    M flang/test/Semantics/procinterface02.f90
    A flang/test/Semantics/procinterface04.f90
    M flang/test/Semantics/reduce01.f90
    M flang/test/Semantics/resolve114.f90
    M flang/test/Semantics/resolve46.f90
    M flang/test/Semantics/resolve59.f90

  Log Message:
  -----------
  [flang] Check procedure pointer initializations; clean up ELEMENTAL

Implements compatibility checking for initializers in procedure pointer
declarations.  This work exposed some inconsistency in how ELEMENTAL
interfaces were handled and checked, from both unrestricted intrinsic
functions and others, and some refinements needed for function result
compatbility checking; these have also been ironed out.  Some new
warnings are now emitted, and this affected a dozen or so tests.

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




More information about the All-commits mailing list