This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Preserve order in cfun->local_decls vector (PR debug/44901)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 12 Jul 2010 17:54:41 -0700
- Subject: Re: [PATCH] Preserve order in cfun->local_decls vector (PR debug/44901)
- References: <20100712181653.GY20208@tyan-ft48-01.lab.bos.redhat.com>
Jakub Jelinek wrote:
> 2010-07-12 Jakub Jelinek <jakub@redhat.com>
>
> 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.
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713