* vec.c (vec_assert_fail): Remove duplicate 'function'.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jul 2004 09:45:19 +0000 (09:45 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jul 2004 09:45:19 +0000 (09:45 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84282 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/vec.c

index 9baf0be..74b28b3 100644 (file)
@@ -1,6 +1,9 @@
 2004-07-08  Nathan Sidwell  <nathan@codesourcery.com>
 
+       * vec.c (vec_assert_fail): Remove duplicate 'function'.
+
        * vec.c (vec_p_reserve, vec_o_reserve): Allocation is signed.
+
        * vec.h (VEC_alloc, VEC_embedded_size, VEC_embedded_init):
        Allocation is signed.
        (VEC_reserve): Return flag, allocation is signed.
index 9d1d8b2..73728a2 100644 (file)
--- a/gcc/vec.c
+++ b/gcc/vec.c
@@ -85,7 +85,6 @@ vec_assert_fail (const char *op, const char *struct_name,
                 const char *file, size_t line, const char *function)
 {
   internal_error ("vector %s %s domain error, in %s at %s:%u",
-                 struct_name, op, function, function,
-                 trim_filename (file), line);
+                 struct_name, op, function, trim_filename (file), line);
 }
 #endif