PR c++/34758 Bad diagnostic for circular dependency in constructor default argument
Manuel López-Ibáñez
lopezibanez@gmail.com
Sat Aug 23 08:38:00 GMT 2008
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-pr34758.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080823/4b29c889/attachment.ksh>
More information about the Gcc-patches
mailing list