This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] tree-ssa-operands.c: Use VEC instead of VARRAY.
On Thu, 2005-05-05 at 11:57, Kazu Hirata wrote:
> Hi Andrew,
>
> > They are not work vectors. They are a cache for the potentially long
> > strings of virtual operands that are added at call sites. They can last
> > for the duration of the operand cache, so they could be xmalloc'd.
>
> OK. Do the contents of these arrays have to be visible from GC? Or
> if they are cache, I guess somebody else should be pointing to
> operands that the arrays also point to, so we don't need GTY?
>
no, they don't need to be visible from GC.
Andrew