Extract lambda functions from semantics.c.

	* gcc/cp/semantics.c (build_lambda_expr),
	(build_lambda_object), (begin_lambda_type), (lambda_return_type),
	(lambda_function), (lambda_capture_field_type), (is_capture_proxy),
	(is_normal_capture_proxy), (insert_capture_proxy),
	(insert_pending_capture_proxies), (lambda_proxy_type),
	(build_capture_proxy), (vla_capture_type),
	(register_capture_members), (add_default_capture),
	(lambda_expr_this_capture), (maybe_resolve_dummy),
	(nonlambda_method_basetype), (maybe_add_lambda_conv_op) and
	(is_lambda_ignored_entity): Moved definitions into ...
	* gcc/cp/lambda.c: ... this new file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200948 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-14  Thomas Koenig  <tkoenig@gcc.gnu.org>
	    Tobias Burnus  <burnus@gcc.gnu.org>

	PR fortran/52669
	* trans-decl.c (gfc_finish_var_decl):  Move setting of
	PRIVATE for a module variable if the module has a private
	default or -fmodule-private is given to...
	(gfc_create_module_variable): here. Optionally
	warn about private module variable which is not used.

2013-07-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/52669
	* fortran.dg/module_variable_1.f90:  New test.
	* fortran.dg/module_variable_2.f90:  New test.



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