From: Jan Hubicka Date: Thu, 29 Oct 2020 17:03:29 +0000 (+0100) Subject: Annotate vec::copy better for mem stats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ca6de338d405d8ebe4d8b80526c383540209007;p=gcc.git Annotate vec::copy better for mem stats * vec.h (vec::copy): Pass mem stat info. --- diff --git a/gcc/vec.h b/gcc/vec.h index 3ad26972a62..14d77e87342 100644 --- a/gcc/vec.h +++ b/gcc/vec.h @@ -1731,7 +1731,7 @@ vec::copy (ALONE_MEM_STAT_DECL) const { vec new_vec = vNULL; if (length ()) - new_vec.m_vec = m_vec->copy (); + new_vec.m_vec = m_vec->copy (ALONE_PASS_MEM_STAT); return new_vec; }