diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-09-18 15:34:24 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-08-01 16:52:25 +0200 |
commit | 36ce08b23ed34ecda82a956998f39ce5afbcdec4 (patch) | |
tree | 581ae2ccfd02c9fc879bfb0951b9f22753094eb3 /gcc/dwarf2codeview.h | |
parent | 97402694f71d96c89fac2ad2b859cbe6765e956a (diff) | |
download | gcc-36ce08b23ed34ecda82a956998f39ce5afbcdec4.zip gcc-36ce08b23ed34ecda82a956998f39ce5afbcdec4.tar.gz gcc-36ce08b23ed34ecda82a956998f39ce5afbcdec4.tar.bz2 |
gccrs: Prevent error emission on resolver reentry
The resolver was emitting an error when meeting the same symbol twice.
What is important here is the origin of the resolved symbol, we should
emit an error when the name is similar but the symbol isn't be not when
the resolver is simply meeting the exact same symbol.
gcc/rust/ChangeLog:
* resolve/rust-toplevel-name-resolver-2.0.cc (insert_macros): Add
constraint over the ast node id.
(TopLevel::visit): Likewise.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions