[Bug c++/65309] [4.9 Regression] Executes wrong function inside an anonymous namespace on runtime
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 4 18:14:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65309
--- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Mar 4 18:13:44 2015
New Revision: 221192
URL: https://gcc.gnu.org/viewcvs?rev=221192&root=gcc&view=rev
Log:
PR c++/65209
PR c++/65309
* decl2.c (constrain_visibility_for_template): Handle reference
arguments.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/abi/anon4.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/decl2.c
More information about the Gcc-bugs
mailing list