vec.h (VEC_T_truncate): Allow truncation of an empty vector.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 15 Jul 2004 07:59:27 +0000 (07:59 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 15 Jul 2004 07:59:27 +0000 (07:59 +0000)
commit400053660cdd089c226a6f6fdb4e6793c6384f16
tree00ea87f0e87cbfc75186c13146ad863fa097b11c
parentad5dc4b35a862383516694d2a76832625c9a98b6
vec.h (VEC_T_truncate): Allow truncation of an empty vector.

* vec.h (VEC_T_truncate): Allow truncation of an empty vector.
(VEC_T_quick_insert, VEC_T_ordered_remove): Fix sizeof(T) thinko.

From-SVN: r84746
gcc/ChangeLog
gcc/vec.h