re PR tree-optimization/83320 (Mismatched free() / delete / delete [] in gimple-loop-interchange.cc:948)
PR tree-optimization/83320 * gimple-loop-interchange.cc (free_data_refs_with_aux): Use delete. (prune_datarefs_not_in_loop): Ditto. From-SVN: r255539
This commit is contained in:
parent
138d2a8151
commit
46bb9d29d3
@ -1,3 +1,9 @@
|
||||
2017-12-11 Bin Cheng <bin.cheng@arm.com>
|
||||
|
||||
PR tree-optimization/83320
|
||||
* gimple-loop-interchange.cc (free_data_refs_with_aux): Use delete.
|
||||
(prune_datarefs_not_in_loop): Ditto.
|
||||
|
||||
2017-12-10 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* doc/install.texi (Specific): Tweak link to mkssoftware.com.
|
||||
|
@ -945,7 +945,7 @@ free_data_refs_with_aux (vec<data_reference_p> datarefs)
|
||||
if (dr->aux != NULL)
|
||||
{
|
||||
DR_ACCESS_STRIDE (dr)->release ();
|
||||
free (dr->aux);
|
||||
delete (vec<tree> *) dr->aux;
|
||||
}
|
||||
|
||||
free_data_refs (datarefs);
|
||||
@ -1867,7 +1867,7 @@ prune_datarefs_not_in_loop (struct loop *loop, vec<data_reference_p> datarefs)
|
||||
if (dr->aux)
|
||||
{
|
||||
DR_ACCESS_STRIDE (dr)->release ();
|
||||
free (dr->aux);
|
||||
delete (vec<tree> *) dr->aux;
|
||||
}
|
||||
free_data_ref (dr);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user