[all-commits] [llvm/llvm-project] 36c9b4: [flang] Fix character length checking in ALLOCATE ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 16 12:21:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36c9b4fd6de9cb5665e98b816e54e8aec5592f05
      https://github.com/llvm/llvm-project/commit/36c9b4fd6de9cb5665e98b816e54e8aec5592f05
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M flang/lib/Semantics/check-allocate.cpp
    A flang/test/Semantics/bug163242.f90

  Log Message:
  -----------
  [flang] Fix character length checking in ALLOCATE (#163657)

The known character length compatibility check for ALLOCATE statements
needs to allow for negative lengths, which are effectively zero.

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



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