Commit 7532abf2 by Jeff Law Committed by Jeff Law

[PATCH] [6/n] Fix minor SSA_NAME leaks

	* tree-vect-stmts.c (free_stmt_vec_info): Free the LHS of the
	correct statement.

From-SVN: r228663
parent 97400916
2015-10-09 Jeff Law <law@redhat.com>
* tree-vect-stmts.c (free_stmt_vec_info): Free the LHS of the
correct statement.
2015-10-09 Renlin Li <renlin.li@arm.com> 2015-10-09 Renlin Li <renlin.li@arm.com>
* config/arm/neon.md (neon_vuzp<mode>_insn): Add & modifier for * config/arm/neon.md (neon_vuzp<mode>_insn): Add & modifier for
...@@ -8075,7 +8075,7 @@ free_stmt_vec_info (gimple *stmt) ...@@ -8075,7 +8075,7 @@ free_stmt_vec_info (gimple *stmt)
{ {
gimple *seq_stmt = gsi_stmt (si); gimple *seq_stmt = gsi_stmt (si);
gimple_set_bb (seq_stmt, NULL); gimple_set_bb (seq_stmt, NULL);
lhs = gimple_get_lhs (patt_stmt); lhs = gimple_get_lhs (seq_stmt);
if (TREE_CODE (lhs) == SSA_NAME) if (TREE_CODE (lhs) == SSA_NAME)
release_ssa_name (lhs); release_ssa_name (lhs);
free_stmt_vec_info (seq_stmt); free_stmt_vec_info (seq_stmt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment