This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from e87212ead5e RISC-V: zicond: Fix opt2 pattern new c24982689b8 c++: Diagnose [basic.scope.block]/2 violations even in comp [...] new efafa66c294 c++: Diagnose [basic.scope.block]/2 violations even for blo [...]
The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/cp/decl.cc | 1 + gcc/cp/name-lookup.cc | 77 +++++--- gcc/cp/name-lookup.h | 12 +- gcc/cp/semantics.cc | 1 + gcc/testsuite/g++.dg/diagnostic/redeclaration-1.C | 2 +- gcc/testsuite/g++.dg/diagnostic/redeclaration-3.C | 225 ++++++++++++++++++++++ gcc/testsuite/g++.dg/diagnostic/redeclaration-4.C | 167 ++++++++++++++++ gcc/testsuite/g++.dg/diagnostic/redeclaration-5.C | 167 ++++++++++++++++ gcc/testsuite/g++.dg/parse/pr31952-1.C | 2 +- gcc/testsuite/g++.dg/parse/pr31952-3.C | 2 +- gcc/testsuite/g++.dg/warn/Wshadow-19.C | 27 +++ 11 files changed, 644 insertions(+), 39 deletions(-) create mode 100644 gcc/testsuite/g++.dg/diagnostic/redeclaration-3.C create mode 100644 gcc/testsuite/g++.dg/diagnostic/redeclaration-4.C create mode 100644 gcc/testsuite/g++.dg/diagnostic/redeclaration-5.C create mode 100644 gcc/testsuite/g++.dg/warn/Wshadow-19.C