[all-commits] [llvm/llvm-project] af964c: [flang][runtime] Let FORT_CHECK_POINTER_DEALLOCATI...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Mar 13 14:52:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af964c7e31f0728e84c97b734933fcb9a1912bce
      https://github.com/llvm/llvm-project/commit/af964c7e31f0728e84c97b734933fcb9a1912bce
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    A flang/docs/RuntimeEnvironment.md
    M flang/docs/index.md
    M flang/runtime/environment.cpp
    M flang/runtime/environment.h
    M flang/runtime/pointer.cpp

  Log Message:
  -----------
  [flang][runtime] Let FORT_CHECK_POINTER_DEALLOCATION=0 disable runtime … (#84956)

…check

Add an environment variable by which a user can disable the pointer
validation check in DEALLOCATE statement handling. This is not safe, but
it can help make a code work that allocates a pointer with an extended
derived type, associates its target with a pointer to one of its
ancestor types, and then deallocates that pointer.



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