[all-commits] [llvm/llvm-project] e8335a: [flang] Avoid crash in name resolution on erroneou...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 20 13:53:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8335aef063e08a7cd8a543d7ab14b20f554c07b
      https://github.com/llvm/llvm-project/commit/e8335aef063e08a7cd8a543d7ab14b20f554c07b
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/bad-forward-type.f90

  Log Message:
  -----------
  [flang] Avoid crash in name resolution on erroneous type extension (#109312)

Don't crash when a bad Fortran program tries to extend a derived type
with previous legitimate forward references but no prior definition.

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



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