[all-commits] [llvm/llvm-project] 7cc789: [flang] Silence spurious errors from benign USE er...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Aug 26 10:57:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cc789bcfba8050eb20ecb8a24508d9a4711dba0
https://github.com/llvm/llvm-project/commit/7cc789bcfba8050eb20ecb8a24508d9a4711dba0
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-26 (Mon, 26 Aug 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/resolve82.f90
Log Message:
-----------
[flang] Silence spurious errors from benign USE errors (#106097)
When USE association encounters a conflict that can't be resolved, it
produces a "UseError" symbol that will trigger an error message if that
symbol is ever actually used. UseError symbols that aren't used are
benign.
Ensure that UseError symbols don't run the gamut of declaration
checking. They were getting through, and could lead to spurious error
messages.
Fixes https://github.com/llvm/llvm-project/issues/106020.
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