From: Jeff Law Date: Thu, 8 Oct 2015 20:27:38 +0000 (-0600) Subject: [PATCH] [2/n] Fix minor SSA_NAME leaks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8bf7dce97541718233f8f7e2a332082ef5b9672;p=gcc.git [PATCH] [2/n] Fix minor SSA_NAME leaks * tree-ssa-dse.c (dse_optimize_stmt): Add missing call to release_defs. From-SVN: r228624 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 42864914945..64309c19900 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-08 Jeff Law + + * tree-ssa-dse.c (dse_optimize_stmt): Add missing call to + release_defs. + 2015-10-08 H.J. Lu * config/i386/i386.c (ix86_compute_frame_layout): Round up the diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index ac9c05a4e7b..80ebdb62212 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -271,6 +271,7 @@ dse_optimize_stmt (gimple_stmt_iterator *gsi) /* Remove the dead store. */ if (gsi_remove (gsi, true)) bitmap_set_bit (need_eh_cleanup, gimple_bb (stmt)->index); + release_defs (stmt); } break; }