libiberty: fix --enable-install-libiberty flag [PR 56780]

Commit 199570 fixed the --disable-install-libiberty behavior, but it also
added a bug where the enable path never works because the initial clear
of target_header_dir wasn't deleted.  So we end up initializing properly
at the top only to reset it at the end all the time.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206367 138bc75d-0d04-0410-961f-82ee72b054a4
Fix PR c++/59635

	PR c++/59635
	* cp/lambda.c (maybe_add_lambda_conv_op): Handle marking conversion
	function as unimplemented for generic lambdas with varargs.

	* g++.dg/cpp1y/pr59635.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206368 138bc75d-0d04-0410-961f-82ee72b054a4
Fix PR c++/59636

	PR c++/59636
	* cp/parser.c (cp_parser_template_parameter): Early out with
	error_mark_node if parameter declaration was not parsed.

	* g++.dg/cpp1y/pr59636.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206369 138bc75d-0d04-0410-961f-82ee72b054a4
Fix PR c++/59629

	PR c++/59629
	* cp/parser.c (cp_parser_lambda_expression): Save/reset/restore
	auto_is_implicit_function_template_parm_p around lambda body.

	* g++.dg/cpp1y/pr59629.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206370 138bc75d-0d04-0410-961f-82ee72b054a4
Fix PR c++/59638

	PR c++/59638
	* cp/parser.c (cp_parser_init_declarator): Undo fully implicit
	template parameter list when declarator is not a function.

	* g++.dg/cpp1y/pr59638.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206371 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c/57773
	* doc/implement-c.texi: Mention that other integer types are
	permitted as bit-field types in strictly conforming mode.
c/
	* c-decl.c (check_bitfield_type_and_width): Warn for implementation
	defined bit-field types only in ISO C.
testsuite/
	* gcc.dg/pr57773.c: New test.


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