aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-07-08 09:45:19 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-07-08 09:45:19 +0000
commit70ce47b582454762c68f9ef7c63ce147d95eae02 (patch)
treee010d0160fe1afb20af9b3f83db61767d289f77f /gcc
parent7de5bcccabe7577efb9e734e5534a2318b1f3703 (diff)
downloadgcc-70ce47b582454762c68f9ef7c63ce147d95eae02.zip
gcc-70ce47b582454762c68f9ef7c63ce147d95eae02.tar.gz
gcc-70ce47b582454762c68f9ef7c63ce147d95eae02.tar.bz2
* vec.c (vec_assert_fail): Remove duplicate 'function'.
From-SVN: r84282
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/vec.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9baf0be..74b28b3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/vec.c b/gcc/vec.c
index 9d1d8b2..73728a2 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