This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r155411 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 22 Dec 2009 23:16:47 -0000
- Subject: r155411 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
Author: jason
Date: Tue Dec 22 23:16:46 2009
New Revision: 155411
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155411
Log:
PR c++/42466
* pt.c (reduce_template_parm_level): Check the type before
returning cached TEMPLATE_PARM_INDEX.
Added:
trunk/gcc/testsuite/g++.dg/template/nontype19.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog