On Fri, Apr 23, 2021 at 2:13 PM Alex Coplan via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> Hi,
>
> This simple patch fixes a mismatched operator new/delete in
> early-remat.c which triggers ASan errors on (at least) AArch64 when
> compiling SVE code.
>
> Bootstrap and regtest on aarch64-linux-gnu in progress.
>
> OK for trunk and backports (as appropriate) if testing looks good?

OK.

Thank,
Richard.

> Thanks,
> Alex
>
> gcc/ChangeLog:
>
>         PR rtl-optimization/100230
>         * early-remat.c (early_remat::sort_candidates): Use delete[]
>         instead of delete for array allocated with new[].

Reply via email to