This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r152685 - 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: Mon, 12 Oct 2009 21:04:28 -0000
- Subject: r152685 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
Author: jason
Date: Mon Oct 12 21:04:27 2009
New Revision: 152685
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152685
Log:
PR c++/37766
* pt.c (type_unification_real): Call convert_template_argument
for function default template arguments.
(check_default_tmpl_args): Suggest -std=c++0x when function default
template args seen in C++98 mode.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog