This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]