diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-07-13 08:59:56 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-07-13 08:59:56 +0200 |
commit | 2fed2012d551c7215e9a5a355d3b9bfe5a4c8545 (patch) | |
tree | b123c5327b8752f626c90a170c875178af34b826 /gcc/vec.h | |
parent | 88ce80316fbb4d001f08eb4c65dbb7ae88e0474f (diff) | |
download | gcc-2fed2012d551c7215e9a5a355d3b9bfe5a4c8545.zip gcc-2fed2012d551c7215e9a5a355d3b9bfe5a4c8545.tar.gz gcc-2fed2012d551c7215e9a5a355d3b9bfe5a4c8545.tar.bz2 |
re PR debug/44901 (-fcompare-debug failure for tree-predcom.c)
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.
From-SVN: r162126
Diffstat (limited to 'gcc/vec.h')
-rw-r--r-- | gcc/vec.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |