[all-commits] [llvm/llvm-project] f5f6ca: [flang] Fix crash in UseErrorDetails construction ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Nov 19 08:54:43 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5f6ca659992ae6d26b2a96304ceb65a1fd63ad6
      https://github.com/llvm/llvm-project/commit/f5f6ca659992ae6d26b2a96304ceb65a1fd63ad6
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-11-19 (Wed, 19 Nov 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/bug168099.f90

  Log Message:
  -----------
  [flang] Fix crash in UseErrorDetails construction case (#168126)

When a derived type has the same name as a generic function, and is
use-associated into a scope along with other distinct derived types of
the same name, we crash. Don't crash.

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



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