[all-commits] [llvm/llvm-project] 9fdd25: [flang] Don't change size of allocatable in error ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jan 15 12:18:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fdd25e18c04f3543f7de9727f11f034498ca07e
      https://github.com/llvm/llvm-project/commit/9fdd25e18c04f3543f7de9727f11f034498ca07e
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M flang/runtime/allocatable.cpp

  Log Message:
  -----------
  [flang] Don't change size of allocatable in error situation (#77386)

When an already-allocated allocatable array is about to fail
reallocation, don't allow its size or other characteristics to be
changed.

Fixes
llvm-test-suite/Fortran/gfortran/regression/multiple_allocation_1.f90
and .../multiple_allocation_3.f90.




More information about the All-commits mailing list