summaryrefslogtreecommitdiff
path: root/gcc/cp/rtti.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-08 18:18:35 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-08 18:18:35 +0000
commit78e1ca3ba3b946f7cb72e33e26f5b9fa9ee67b92 (patch)
treebdd7ab2e44811ccfa2fcc97aeec1ab3f591e7374 /gcc/cp/rtti.c
parent27a0be8fca44baedcd3b3e8a287cf7c710ba28df (diff)
downloadgcc-78e1ca3ba3b946f7cb72e33e26f5b9fa9ee67b92.tar.gz
86th Cygnus<->FSF quick merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11956 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r--gcc/cp/rtti.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c
index 37e6698b17d..be982754349 100644
--- a/gcc/cp/rtti.c
+++ b/gcc/cp/rtti.c
@@ -165,7 +165,7 @@ build_typeid (exp)
t = build_vfn_ref ((tree *) 0, exp, integer_zero_node);
TREE_TYPE (t) = build_pointer_type (tinfo_fn_type);
- t = build (CALL_EXPR, TREE_TYPE (tinfo_fn_type), t, NULL_TREE, 0);
+ t = build (CALL_EXPR, TREE_TYPE (tinfo_fn_type), t, NULL_TREE, NULL_TREE);
TREE_SIDE_EFFECTS (t) = 1;
return convert_from_reference (t);
}
@@ -263,7 +263,7 @@ get_typeid_1 (type)
tree type;
{
tree t = build (CALL_EXPR, TREE_TYPE (tinfo_fn_type),
- default_conversion (get_tinfo_fn (type)), NULL_TREE, 0);
+ default_conversion (get_tinfo_fn (type)), NULL_TREE, NULL_TREE);
TREE_SIDE_EFFECTS (t) = 1;
return convert_from_reference (t);
}
@@ -317,7 +317,7 @@ throw_bad_cast ()
pop_obstacks ();
- d = build (CALL_EXPR, void_type_node, default_conversion (d), NULL_TREE, 0);
+ d = build (CALL_EXPR, void_type_node, default_conversion (d), NULL_TREE, NULL_TREE);
TREE_SIDE_EFFECTS (d) = 1;
return d;
}
@@ -526,7 +526,7 @@ build_dynamic_cast (type, expr)
}
result = build (CALL_EXPR, TREE_TYPE (TREE_TYPE (dcast_fn)),
- decay_conversion (dcast_fn), elems, 0);
+ decay_conversion (dcast_fn), elems, NULL_TREE);
TREE_SIDE_EFFECTS (result) = 1;
if (tc == REFERENCE_TYPE)
@@ -611,7 +611,7 @@ expand_si_desc (tdecl, type)
}
fn = build (CALL_EXPR, TREE_TYPE (TREE_TYPE (fn)),
- decay_conversion (fn), elems, 0);
+ decay_conversion (fn), elems, NULL_TREE);
TREE_SIDE_EFFECTS (fn) = 1;
expand_expr_stmt (fn);
}
@@ -791,7 +791,7 @@ expand_class_desc (tdecl, type)
}
fn = build (CALL_EXPR, TREE_TYPE (TREE_TYPE (fn)),
- decay_conversion (fn), elems, 0);
+ decay_conversion (fn), elems, NULL_TREE);
TREE_SIDE_EFFECTS (fn) = 1;
expand_expr_stmt (fn);
}
@@ -839,7 +839,7 @@ expand_ptr_desc (tdecl, type)
}
fn = build (CALL_EXPR, TREE_TYPE (TREE_TYPE (fn)),
- decay_conversion (fn), elems, 0);
+ decay_conversion (fn), elems, NULL_TREE);
TREE_SIDE_EFFECTS (fn) = 1;
expand_expr_stmt (fn);
}
@@ -890,7 +890,7 @@ expand_attr_desc (tdecl, type)
}
fn = build (CALL_EXPR, TREE_TYPE (TREE_TYPE (fn)),
- decay_conversion (fn), elems, 0);
+ decay_conversion (fn), elems, NULL_TREE);
TREE_SIDE_EFFECTS (fn) = 1;
expand_expr_stmt (fn);
}
@@ -932,7 +932,7 @@ expand_generic_desc (tdecl, type, fnname)
}
fn = build (CALL_EXPR, TREE_TYPE (TREE_TYPE (fn)),
- decay_conversion (fn), elems, 0);
+ decay_conversion (fn), elems, NULL_TREE);
TREE_SIDE_EFFECTS (fn) = 1;
expand_expr_stmt (fn);
}