PR c++/58965
	* mangle.c (write_guarded_var_name): Handle null DECL_NAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206405 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/58856
	* pt.c (num_innermost_template_parms): New.
	(get_underlying_template): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206406 138bc75d-0d04-0410-961f-82ee72b054a4