This is the mail archive of the gcc-patches@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]

PR c++/34758 Bad diagnostic for circular dependency in constructor default argument


Bootstrapped and regression tested on x86_64-unknown-linux-gnu with
--enable-languages=all,ada

Is the wording clear now?

OK for trunk?

2008-08-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR c++/34758
cp/
	* call.c (convert_default_argument): Take an additional last_arg
	argument. Clarify error message.
	(build_over_call): Update call to convert_default_arg.
	* typeck.c (convert_arguments): Update call to
	convert_default_arg.
	* cp-tree.h (convert_default_arg): Update declaration.
	* cp-gimplify.c (cxx_omp_clause_apply_fn): Update call to
	convert_default_arg.
testsuite/
	* g++.dg/parse/pr34758.C: New.

Attachment: fix-pr34758.diff
Description: Text document


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