]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/22508 (ICE after invalid operator new)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Thu, 20 Oct 2005 10:10:09 +0000 (10:10 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Thu, 20 Oct 2005 10:10:09 +0000 (10:10 +0000)
PR c++/22508
* init.c (build_new_1): Remove misleading comment.

From-SVN: r105667

gcc/cp/ChangeLog
gcc/cp/init.c

index 15819d7192cca2a51e299e01274ef06ab30b6c8c..dee049b315e1a7fed18c072443554a1794249511 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-20  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       PR c++/22508
+       * init.c (build_new_1): Remove misleading comment.
+
 2005-10-12  Paolo Bonzini  <bonzini@gnu.org>
 
        PR c++/24052
index 732d4a0c84d712f78f7b9d9d7038df194e33c05e..8064e4f58911c10649ded65a6b0a2c88a82b47ab 100644 (file)
@@ -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;