From 2ca6de338d405d8ebe4d8b80526c383540209007 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 29 Oct 2020 18:03:29 +0100 Subject: [PATCH] Annotate vec::copy better for mem stats * vec.h (vec::copy): Pass mem stat info. --- gcc/vec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2