r168681 - in /trunk/gcc: cp/ChangeLog cp/cp-lan...

dodji@gcc.gnu.org dodji@gcc.gnu.org
Tue Jan 11 21:20:00 GMT 2011


Author: dodji
Date: Tue Jan 11 21:20:07 2011
New Revision: 168681

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168681
Log:
Fix PR debug/46955

gcc/cp/

	* cp-lang.c (get_template_innermost_arguments_folded)
	(get_template_argument_pack_elems_folded)
	(template_arg_needs_folding, fold_cplus_constants): New static
	functions.
	(LANG_HOOKS_GET_INNERMOST_GENERIC_ARGS): Set this hook to
	get_template_innermost_arguments_folded.
	(LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS): Set this hook to
	get_template_argument_pack_elems_folded.

gcc/testsuite/

	* g++.dg/debug/dwarf2/template-params-8.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/template-params-8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-lang.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list