aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/rtti.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-04-22 07:48:02 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-04-22 07:48:02 +0000
commit6adb9463cd343bcab5a1b9842894cdc90d5249b3 (patch)
tree0d3d598875df3c55ab14e346f11ebd47c0746567 /gcc/cp/rtti.c
parentb2dd096b0c7e5c48380b99b3d2b1ff4763b7f525 (diff)
downloadgcc-6adb9463cd343bcab5a1b9842894cdc90d5249b3.zip
gcc-6adb9463cd343bcab5a1b9842894cdc90d5249b3.tar.gz
gcc-6adb9463cd343bcab5a1b9842894cdc90d5249b3.tar.bz2
* rtti.c (throw_bad_typeid): Use build_cxx_call.
From-SVN: r65933
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r--gcc/cp/rtti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c
index e02e693..7b230e9 100644
--- a/gcc/cp/rtti.c
+++ b/gcc/cp/rtti.c
@@ -196,7 +196,7 @@ throw_bad_typeid (void)
fn = push_throw_library_fn (fn, t);
}
- return convert_from_reference (build_call (fn, NULL_TREE));
+ return convert_from_reference (build_cxx_call (fn, NULL_TREE, NULL_TREE));
}
/* Return an lvalue expression whose type is "const std::type_info"