[C++ PATCH] refactor duplicate_decls
authorNathan Sidwell <nathan@acm.org>
Fri, 2 Nov 2018 11:12:43 +0000 (11:12 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 2 Nov 2018 11:12:43 +0000 (11:12 +0000)
commit4155777d7394cb929f2ad5d86045415bff5c85ff
tree05b914aa41f83859292692594a53d80d043af189
parent97f5962a05625a25ff4bfb35e261e810d5c0381c
[C++ PATCH] refactor duplicate_decls

https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00085.html
gcc/cp/
* decl.c (duplicate_decls): Refactor checks.
gcc/testsuite/
* g++.dg/lookup/crash6.C: Adjust error
* g++.dg/parse/crash38.C: Likewise.

From-SVN: r265744
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/crash6.C
gcc/testsuite/g++.dg/parse/crash38.C