This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55249] [4.6/4.7/4.8 Regression] Multiple copy constructors for template class lead to link errors
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 07 Dec 2012 05:13:20 +0000
- Subject: [Bug c++/55249] [4.6/4.7/4.8 Regression] Multiple copy constructors for template class lead to link errors
- Auto-submitted: auto-generated
- References: <bug-55249-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55249
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2012-12-07 05:13:20 UTC ---
Author: jason
Date: Fri Dec 7 05:13:11 2012
New Revision: 194288
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194288
Log:
PR c++/55249
* tree.c (build_vec_init_elt): Use the type of the initializer.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/array25.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/tree.c