This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r170795 - in /branches/gcc-4_5-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 08 Mar 2011 22:39:58 -0000
- Subject: r170795 - in /branches/gcc-4_5-branch/gcc: cp/C...
Author: jason
Date: Tue Mar 8 22:39:57 2011
New Revision: 170795
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170795
Log:
PR c++/47705
* pt.c (convert_nontype_argument): Only call decay_conversion on
arrays.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/nontype21.C
Modified:
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/pt.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog