Commit 57ccb546 by Mark Mitchell Committed by Mark Mitchell

* init.c (build_new): Tweak comment.

From-SVN: r126293
parent 39fb9d72
2007-07-03 Mark Mitchell <mark@codesourcery.com>
* init.c (build_new): Tweak comment.
2007-06-29 Dave Brolley <brolley@redhat.com>
PR c++/31743
......
......@@ -2207,7 +2207,9 @@ build_new (tree placement, tree type, tree nelts, tree init,
return error_mark_node;
}
/* PR 31743: Make sure the array type has a known size. */
/* The type allocated must be complete. If the new-type-id was
"T[N]" then we are just checking that "T" is complete here, but
that is equivalent, since the value of "N" doesn't matter. */
if (!complete_type_or_else (type, NULL_TREE))
return error_mark_node;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment