[all-commits] [llvm/llvm-project] 5b9bd8: [flang] Fix crash with USE of hermetic module file...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 12 12:16:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b9bd8838842896b482fea20dce56906d42cc7b1
      https://github.com/llvm/llvm-project/commit/5b9bd8838842896b482fea20dce56906d42cc7b1
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    A flang/test/Semantics/modfile75.F90

  Log Message:
  -----------
  [flang] Fix crash with USE of hermetic module file (#138785)

When one hermetic module file uses another, a later compilation may
crash in semantics when it itself is used, since the module file reader
sets the "current hermetic module file scope" to null after reading one
rather than saving and restoring 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