This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH PR83320]Fix new/free mismatch issue


On December 8, 2017 6:49:21 PM GMT+01:00, Bin Cheng <Bin.Cheng@arm.com> wrote:
>Hi,
>While I am still trying to reproduce and verify the issue (valgrind
>checking runs very slow for me),
>It's clear I made stupid mistake using free for newed vector.  This
>simple patch fixes it.
>Bootstrap and test ongoing.  Is it OK?

OK. 

Richard. 

>Thanks,
>bin
>2017-12-06  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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]