This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, 3.4] Remove misleading comment
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 20 Oct 2005 12:16:04 +0200 (CEST)
- Subject: [patch, 3.4] Remove misleading comment
Due to the patch for PR c++/22508 on mainline and the 4.0 branch, the
comment in the corresponding code on the 3.4 branch is no longer true.
The following patch therefore removes the comment.
Applied as obvious to the 3.4 branch
(approved by Gaby in private mail).
Regards,
Volker
2005-10-20 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/22508
* init.c (build_new_1): Remove misleading comment.
===================================================================
--- gcc/gcc/cp/init.c 2 May 2005 14:46:34 -0000 1.356.2.18
+++ gcc/gcc/cp/init.c 20 Oct 2005 10:00:33 -0000
@@ -2075,9 +2075,6 @@ build_new_1 (tree exp)
fns = lookup_fnfields (true_type, fnname, /*protect=*/2);
if (!fns)
{
- /* See PR 15967. This should never happen (and it is
- fixed correctly in mainline), but on the release branch
- we prefer this less-intrusive approacch. */
error ("no suitable or ambiguous `%D' found in class `%T'",
fnname, true_type);
return error_mark_node;
===================================================================