Fix memory leaks in tree-vect-data-refs.c
* tree-vect-data-refs.c: Free an overwritten dataref. From-SVN: r231490
This commit is contained in:
parent
787c102712
commit
99dcb4ea03
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
2015-12-09 John David Anglin <danglin@gcc.gnu.org>
|
||||||
|
|
||||||
PR target/68729
|
PR target/68729
|
||||||
|
@ -3847,6 +3847,7 @@ again:
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free_data_ref (datarefs[i]);
|
||||||
datarefs[i] = dr;
|
datarefs[i] = dr;
|
||||||
STMT_VINFO_GATHER_SCATTER_P (stmt_info) = gatherscatter;
|
STMT_VINFO_GATHER_SCATTER_P (stmt_info) = gatherscatter;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user