[Bug c++/26988] [4.0/4.1/4.2/4.3 Regression] template constructor in template class derived from virtual base can not be specialized

2007-02-11 Thread mmitchel at gcc dot gnu dot org


--- Comment #6 from mmitchel at gcc dot gnu dot org  2007-02-11 20:15 
---
Subject: Bug 26988

Author: mmitchel
Date: Sun Feb 11 20:15:13 2007
New Revision: 121822

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121822
Log:
PR c++/26988
* pt.c (determine_specialization): Use skip_artificial_parms_for.
(fn_type_unificiation): Likewise.
(get_bindings): Likewise.
PR c++/26988
* g++.dg/template/spec34.C: New test

Added:
trunk/gcc/testsuite/g++.dg/template/spec34.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26988



[Bug c++/26988] [4.0/4.1/4.2/4.3 Regression] template constructor in template class derived from virtual base can not be specialized

2007-02-11 Thread mmitchel at gcc dot gnu dot org


--- Comment #7 from mmitchel at gcc dot gnu dot org  2007-02-11 21:41 
---
Subject: Bug 26988

Author: mmitchel
Date: Sun Feb 11 21:40:56 2007
New Revision: 121826

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121826
Log:
PR c++/26988
* pt.c (determine_specialization): Use skip_artificial_parms_for.
(fn_type_unificiation): Likewise.
(get_bindings): Likewise.
PR c++/26988
* g++.dg/template/spec34.C: New test

Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/spec34.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/pt.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26988



[Bug c++/26988] [4.0/4.1/4.2/4.3 Regression] template constructor in template class derived from virtual base can not be specialized

2007-02-03 Thread gdr at gcc dot gnu dot org


--- Comment #5 from gdr at gcc dot gnu dot org  2007-02-03 16:45 ---
Won't fix in GCC-4.0.x  Adjusting milestone.


-- 

gdr at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.0.4   |4.1.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26988



[Bug c++/26988] [4.0/4.1/4.2/4.3 Regression] template constructor in template class derived from virtual base can not be specialized

2007-02-03 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.1.3   |4.1.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26988



[Bug c++/26988] [4.0/4.1/4.2/4.3 Regression] template constructor in template class derived from virtual base can not be specialized

2007-01-10 Thread mmitchel at gcc dot gnu dot org


--- Comment #4 from mmitchel at gcc dot gnu dot org  2007-01-11 04:05 
---
The problem here is that we are not skipping artificial arguments (other than
the this pointer) when trying to match the specialization.  The additional
parameters for constructors for classes with virtual bases are therefore
confusing the compiler.


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
   |dot org |
 Status|NEW |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26988