public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix vectorizable_reduction leak (PR middle-end/56461)
@ 2013-02-27 20:23 Jakub Jelinek
  2013-02-27 21:37 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2013-02-27 20:23 UTC (permalink / raw)
  To: Richard Biener; +Cc: gcc-patches

Hi!

Another leak, this time in vectorizable_reduction.

Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

2013-02-27  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/56461
	* tree-vect-loop.c (vectorizable_reduction): Release vect_defs
	vector.

--- gcc/tree-vect-loop.c.jj	2013-02-19 10:11:50.000000000 +0100
+++ gcc/tree-vect-loop.c	2013-02-27 18:15:48.981253386 +0100
@@ -5209,6 +5209,7 @@ vectorizable_reduction (gimple stmt, gim
                                     double_reduc, slp_node);
 
   phis.release ();
+  vect_defs.release ();
   vec_oprnds0.release ();
   vec_oprnds1.release ();
 

	Jakub

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix vectorizable_reduction leak (PR middle-end/56461)
  2013-02-27 20:23 [PATCH] Fix vectorizable_reduction leak (PR middle-end/56461) Jakub Jelinek
@ 2013-02-27 21:37 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2013-02-27 21:37 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Richard Biener, gcc-patches

On 02/27/2013 01:22 PM, Jakub Jelinek wrote:
> Hi!
>
> Another leak, this time in vectorizable_reduction.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2013-02-27  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR middle-end/56461
> 	* tree-vect-loop.c (vectorizable_reduction): Release vect_defs
> 	vector.
>
> --- gcc/tree-vect-loop.c.jj	2013-02-19 10:11:50.000000000 +0100
> +++ gcc/tree-vect-loop.c	2013-02-27 18:15:48.981253386 +0100
> @@ -5209,6 +5209,7 @@ vectorizable_reduction (gimple stmt, gim
>                                       double_reduc, slp_node);
>
>     phis.release ();
> +  vect_defs.release ();
>     vec_oprnds0.release ();
>     vec_oprnds1.release ();
OK.
jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-27 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-27 20:23 [PATCH] Fix vectorizable_reduction leak (PR middle-end/56461) Jakub Jelinek
2013-02-27 21:37 ` Jeff Law

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