[all-commits] [llvm/llvm-project] 24d293: [flang] Fix portability warning that was incorrect...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 21 15:35:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24d293913c211c43af4d1ab0a23ab66d58aea6df
      https://github.com/llvm/llvm-project/commit/24d293913c211c43af4d1ab0a23ab66d58aea6df
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/call01.f90

  Log Message:
  -----------
  [flang] Fix portability warning that was incorrectly an "else if"

A semantics check for an assumed-length dummy procedure pointer was
inappropriately part of an "else" clause for a preceding check,
causing it to not be applied in all situations.

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




More information about the All-commits mailing list