Commit 2bd3bc6f by Jason Merrill Committed by Jason Merrill

thinko

From-SVN: r16446
parent a7d87521
......@@ -4,7 +4,7 @@ Wed Nov 12 11:04:33 1997 Jason Merrill <jason@yorick.cygnus.com>
(mark_class_instantiated): If we support one_only but not weak
symbols, don't mark this as known.
* init.c (build_new): Handle cookies in EH cleanup.
* init.c (build_new): Handle vec delete in EH cleanup.
Wed Nov 12 08:11:55 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com>
......
......@@ -2713,13 +2713,7 @@ build_new (placement, decl, init, use_global_new)
/* FIXME: handle placement delete. */
if (flag_exceptions && ! placement)
{
tree cleanup;
if (use_cookie)
cleanup = build (MINUS_EXPR, TREE_TYPE (alloc_expr),
alloc_expr, BI_header_size);
else
cleanup = alloc_expr;
tree cleanup = alloc_expr;
if (! use_global_new && TYPE_LANG_SPECIFIC (true_type)
&& (TYPE_GETS_DELETE (true_type) & (1 << has_array)))
......
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