* rtti.c (throw_bad_typeid): Use build_cxx_call.
authorMark Mitchell <mark@codesourcery.com>
Tue, 22 Apr 2003 07:48:02 +0000 (07:48 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 22 Apr 2003 07:48:02 +0000 (07:48 +0000)
From-SVN: r65933

gcc/cp/ChangeLog
gcc/cp/rtti.c

index 28dde85070f3e8745042b1e57725e31f5b8ca1d4..e5940ffe6148d6d6cc6b7cb8656b1c4456110c7b 100644 (file)
@@ -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.
index e02e69359b1d2fbf3128be7f83df024cf8634557..7b230e974f4bc84724d9d3b6ae3885c491a92697 100644 (file)
@@ -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));
 }
 \f
 /* Return an lvalue expression whose type is "const std::type_info"