[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 21 21:35:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942
--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Nov 21 21:35:09 2014
New Revision: 217950
URL: https://gcc.gnu.org/viewcvs?rev=217950&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/nullptr32.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/mangle.c
trunk/gcc/cp/name-lookup.c
More information about the Gcc-bugs
mailing list