From 70ce47b582454762c68f9ef7c63ce147d95eae02 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 8 Jul 2004 09:45:19 +0000 Subject: [PATCH] * vec.c (vec_assert_fail): Remove duplicate 'function'. From-SVN: r84282 --- gcc/ChangeLog | 3 +++ gcc/vec.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9baf0be323b..74b28b3a8c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,9 @@ 2004-07-08 Nathan Sidwell + * 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. diff --git a/gcc/vec.c b/gcc/vec.c index 9d1d8b2d257..73728a2129a 100644 --- 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 -- 2.30.2