diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cp/rtti.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 28dde85..e5940ff 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2003-04-22 Mark Mitchell <mark@codesourcery.com> + + * rtti.c (throw_bad_typeid): Use build_cxx_call. + 2003-04-21 Mark Mitchell <mark@codesourcery.com> * call.c (build_over_call): Use build_cxx_call. 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" |
