summaryrefslogtreecommitdiff
path: root/gcc/vec.h
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-13 06:59:56 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-13 06:59:56 +0000
commit501bdd19602fbf922920551646c1e974a29f3dc1 (patch)
treeb123c5327b8752f626c90a170c875178af34b826 /gcc/vec.h
parent09276310eee7ca1b0205abdb47fc612bec7ba51d (diff)
downloadgcc-501bdd19602fbf922920551646c1e974a29f3dc1.tar.gz
PR debug/44901
* vec.h (VEC_block_remove): Fix comment. * tree-ssa-live.c (remove_unused_locals): Don't use VEC_unordered_remove on local_decls, instead replace a single vector element in each iteration if at least one element had to be removed and VEC_truncate at the end. * omp-low.c (expand_omp_taskreg): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162126 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/vec.h')
-rw-r--r--gcc/vec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/vec.h b/gcc/vec.h
index a652250112d..321b13fc2ce 100644
--- a/gcc/vec.h
+++ b/gcc/vec.h
@@ -424,7 +424,7 @@ along with GCC; see the file COPYING3. If not see
void VEC_T_block_remove (VEC(T) *v, unsigned ix, unsigned len);
Remove LEN elements starting at the IXth. Ordering is retained.
- This is an O(1) operation. */
+ This is an O(N) operation due to memmove. */
#define VEC_block_remove(T,V,I,L) \
(VEC_OP(T,base,block_remove)(VEC_BASE(V),I,L VEC_CHECK_INFO))