public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/pheeck/heads/sccp)] sccp: vec_free () -> .release ()
@ 2023-03-02 12:13 Filip Kastl
  0 siblings, 0 replies; only message in thread
From: Filip Kastl @ 2023-03-02 12:13 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:116c9902125adf9221224a78727a676604e66ff9

commit 116c9902125adf9221224a78727a676604e66ff9
Author: Filip Kastl <filip.kastl@gmail.com>
Date:   Wed Mar 1 14:56:02 2023 +0100

    sccp: vec_free () -> .release ()

Diff:
---
 gcc/sccp.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/sccp.cc b/gcc/sccp.cc
index 57c821a4f9c..7ae380c9420 100644
--- a/gcc/sccp.cc
+++ b/gcc/sccp.cc
@@ -647,7 +647,7 @@ sccp_propagate (auto_vec<gimple *> &copy_stmts)
   /* Remove data structs for cleanup after stmt modification.  */
   BITMAP_FREE (need_eh_cleanup);
   BITMAP_FREE (need_ab_cleanup);
-  vec_free (stmts_to_fixup);
+  stmts_to_fixup.release ();
   
   // TODO Should I free the vec? Or is it freed automatically?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-02 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 12:13 [gcc(refs/users/pheeck/heads/sccp)] sccp: vec_free () -> .release () Filip Kastl

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).