diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-03-27 07:54:33 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-03-27 07:54:33 -0700 |
commit | 9dba60130dc3ebf7cce8716a36672281688693f7 (patch) | |
tree | 038d92e6564dfe1bfaafff5dcb2ccf62171e78e6 /gcc/gimple-builder.c | |
parent | 6969ac301f2229366a812942a906257e5c060762 (diff) | |
download | gcc-9dba60130dc3ebf7cce8716a36672281688693f7.zip gcc-9dba60130dc3ebf7cce8716a36672281688693f7.tar.gz gcc-9dba60130dc3ebf7cce8716a36672281688693f7.tar.bz2 |
c++: Fix ICE after ambiguous inline namespace reopen [PR94257]
Following DR2061, 'namespace F', looks for 'F's inside inline namespaces.
That can result in ambiguous lookups that we failed to diagnose early enough,
leading us to push a new namespace and ICE later. Diagnose the ambiguity
earlier, and then pick one.
PR c++/94257
* name-lookup.c (push_namespace): Triage ambiguous lookups that
contain namespaces.
Diffstat (limited to 'gcc/gimple-builder.c')
0 files changed, 0 insertions, 0 deletions