Commit 5e001b48 by Mark Mitchell Committed by Mark Mitchell

* rtti.c (emit_support_tinfos): Avoid using C99 semantics.

From-SVN: r92504
parent 5b1f1e63
2004-12-22 Mark Mitchell <mark@codesourcery.com>
* rtti.c (emit_support_tinfos): Avoid using C99 semantics.
PR c++/18464
* call.c (build_this): In templates, do not bother with
build_unary_op.
......
......@@ -1345,16 +1345,18 @@ emit_support_tinfos (void)
for (ix = 0; fundamentals[ix]; ix++)
{
tree bltn = *fundamentals[ix];
tree types[3] = {
bltn,
build_pointer_type (bltn),
build_pointer_type (build_qualified_type (bltn, TYPE_QUAL_CONST))
};
tree types[3];
int i;
types[0] = bltn;
types[1] = build_pointer_type (bltn);
types[2] = build_pointer_type (build_qualified_type (bltn,
TYPE_QUAL_CONST));
for (i = 0; i < 3; ++i)
{
tree tinfo;
tinfo = get_tinfo_decl (types[i]);
TREE_USED (tinfo) = 1;
mark_needed (tinfo);
......
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