Commit 99dcb4ea by Martin Liska Committed by Martin Liska

Fix memory leaks in tree-vect-data-refs.c

	* tree-vect-data-refs.c: Free an overwritten dataref.

From-SVN: r231490
parent 787c1027
2015-12-10 Martin Liska <mliska@suse.cz>
* tree-vect-data-refs.c: Free an overwritten dataref.
2015-12-09 John David Anglin <danglin@gcc.gnu.org>
PR target/68729
......@@ -3847,6 +3847,7 @@ again:
return false;
}
free_data_ref (datarefs[i]);
datarefs[i] = dr;
STMT_VINFO_GATHER_SCATTER_P (stmt_info) = gatherscatter;
}
......
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