From d8bf7dce97541718233f8f7e2a332082ef5b9672 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 8 Oct 2015 14:27:38 -0600 Subject: [PATCH] [PATCH] [2/n] Fix minor SSA_NAME leaks * tree-ssa-dse.c (dse_optimize_stmt): Add missing call to release_defs. From-SVN: r228624 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-dse.c | 1 + 2 files changed, 6 insertions(+) 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; } -- 2.30.2