re PR c++/63942 (constexpr conflicts with previous declaration)
authorJason Merrill <jason@redhat.com>
Fri, 21 Nov 2014 21:35:09 +0000 (16:35 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 21 Nov 2014 21:35:09 +0000 (16:35 -0500)
commit64bec774eda78d9b51cc1210eb9ce9c24c878016
treeafc767f7d032ad609b159c2bb96444301e867ef9
parent6602e1095db5259590fa8813f48a1404ba00cf10
re PR c++/63942 (constexpr conflicts with previous declaration)

PR c++/63942
* name-lookup.c (supplement_binding_1): Override a mangling alias.
* mangle.c (implicit_alias_p, remove_implicit_alias): New.
(mangle_decl): Avoid creating conflicting alias with
-fabi-compat-version=0, too.
* cp-tree.h: Adjust.

From-SVN: r217950
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/mangle.c
gcc/cp/name-lookup.c
gcc/testsuite/g++.dg/cpp0x/nullptr32.C [new file with mode: 0644]