[all-commits] [llvm/llvm-project] 59bf49: [flang] Fix bogus error on statement function (#89...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Apr 22 15:12:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59bf49a63261344998756a31ce03af552e4dae61
      https://github.com/llvm/llvm-project/commit/59bf49a63261344998756a31ce03af552e4dae61
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/stmt-func02.f90

  Log Message:
  -----------
  [flang] Fix bogus error on statement function (#89402)

When a statement function in a nested scope has a name that clashes with
a name that exists in the host scope, the compiler can handle it
correctly (with a portability warning)... unless the host scope acquired
the name via USE association. Fix.

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



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