On Sun, Aug 19, 2012 at 8:30 PM, Dimitrios Apostolou <ji...@gmx.net> wrote:
>
>
> 2012-08-19  Dimitrios Apostolou  <ji...@gmx.net>
>
>         * gcc/tree-ssa-pre.c (phi_translate_pool): New static global
>         alloc_pool, used for allocating struct expr_pred_trans_d for
>         phi_translate_table.
>         (phi_trans_add, init_pre, fini_pre): Use it, avoids thousand of
>         malloc() and free() calls.
>
>
> This avoids lots of malloc/free calls and slow iterations during numerous
> htab_delete() in fini_pre(). Tested on pre C++-snapshot, will update info as
> soon as a post C++ one is available.

Ok, if bootstrap / testing still succeeds.

Thanks,
Richard.

>
> Thanks,
> Dimitris

Reply via email to