aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-base.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-22 09:31:08 +0000
committerGitHub <noreply@github.com>2022-04-22 09:31:08 +0000
commitf0b6dca3fcd6f435a0c0fc5c60c4bfba088930dd (patch)
treeb313d302580ea5261a4a65c8ea893ac360201802 /gcc/rust/backend/rust-compile-base.h
parent243ef0dfe713a9fc8d4d80feb488a58b2639f39f (diff)
parent0d4fc557c7f1e8e645354d7e40b955a7a03b52d0 (diff)
downloadgcc-f0b6dca3fcd6f435a0c0fc5c60c4bfba088930dd.zip
gcc-f0b6dca3fcd6f435a0c0fc5c60c4bfba088930dd.tar.gz
gcc-f0b6dca3fcd6f435a0c0fc5c60c4bfba088930dd.tar.bz2
Merge #1145
1145: Fix generic param redefined bug r=philberty a=philberty When we name-resolve generic parameters their declaration gets inserted in to the upper-most rib on the stack. Then when this is referenced we lookup the relevant binding starting from the uppermost rib this lead to the 2nd extern item adding the same binding into the same rib which caused this clash. To fix this we need to have a seperate rib for each declaration so as reusing the same names don't clash with each other. Fixes #1131 Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-base.h')
0 files changed, 0 insertions, 0 deletions