Commit da9cd044 by Martin Liska Committed by Martin Liska

Fix memory leak in tree-ssa-loop-unswitch.c

2017-02-14  Martin Liska  <mliska@suse.cz>

	* tree-ssa-loop-unswitch.c (hoist_guard): Release get_loop_body
	vector.  Fix trailing white spaces.

From-SVN: r245430
parent b719f884
2017-02-14 Martin Liska <mliska@suse.cz>
* tree-ssa-loop-unswitch.c (hoist_guard): Release get_loop_body
vector. Fix trailing white spaces.
2017-02-14 James Greenhalgh <james.greenhalgh@arm.com> 2017-02-14 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.c (aarch64_simd_container_mode): Handle * config/aarch64/aarch64.c (aarch64_simd_container_mode): Handle
......
...@@ -920,6 +920,8 @@ hoist_guard (struct loop *loop, edge guard) ...@@ -920,6 +920,8 @@ hoist_guard (struct loop *loop, edge guard)
if (dump_file && (dump_flags & TDF_DETAILS)) if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, "\n guard hoisted.\n"); fprintf (dump_file, "\n guard hoisted.\n");
free (body);
} }
/* Return true if phi argument for exit edge can be used /* Return true if phi argument for exit edge can be used
......
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