public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Sebor <msebor@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7043] Use auto_vec for pointer_query cache for auto cleanup. Date: Fri, 4 Feb 2022 02:47:38 +0000 (GMT) [thread overview] Message-ID: <20220204024738.5191C3858D37@sourceware.org> (raw) https://gcc.gnu.org/g:e78d98f76f8d6ee4d06fc98f7f7c3ea4b86c828c commit r12-7043-ge78d98f76f8d6ee4d06fc98f7f7c3ea4b86c828c Author: Martin Sebor <msebor@redhat.com> Date: Thu Feb 3 19:44:44 2022 -0700 Use auto_vec for pointer_query cache for auto cleanup. gcc/Changelog: * pointer-query.h (pointer_query::cache_type): Use auto_vec for auto cleanup. Diff: --- gcc/pointer-query.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/pointer-query.h b/gcc/pointer-query.h index 4c725eeaf34..801a240c38d 100644 --- a/gcc/pointer-query.h +++ b/gcc/pointer-query.h @@ -164,9 +164,9 @@ class pointer_query struct cache_type { /* 1-based indices into cache. */ - vec<unsigned> indices; + auto_vec<unsigned> indices; /* The cache itself. */ - vec<access_ref> access_refs; + auto_vec<access_ref> access_refs; }; public:
reply other threads:[~2022-02-04 2:47 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220204024738.5191C3858D37@sourceware.org \ --to=msebor@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).