Re: [PATCH] predcom: Refactor more using auto_vec

2021-07-20 Thread Richard Biener via Gcc-patches
On Mon, Jul 19, 2021 at 8:29 AM Kewen.Lin wrote: > > Hi Martin & Richard, > > >> A further improvement worth considering (if you're so inclined :) > >> is replacing the pcom_worker vec members with auto_vec (obviating > >> having to explicitly release them) and for the same reason also > >> replac

Re: [PATCH] predcom: Refactor more using auto_vec

2021-07-19 Thread Kewen.Lin via Gcc-patches
on 2021/7/20 上午4:45, Martin Sebor wrote: > On 7/19/21 12:28 AM, Kewen.Lin wrote: >> Hi Martin & Richard, >> A further improvement worth considering (if you're so inclined :) is replacing the pcom_worker vec members with auto_vec (obviating having to explicitly release them) and for t

Re: [PATCH] predcom: Refactor more using auto_vec

2021-07-19 Thread Martin Sebor via Gcc-patches
On 7/19/21 12:28 AM, Kewen.Lin wrote: Hi Martin & Richard, A further improvement worth considering (if you're so inclined :) is replacing the pcom_worker vec members with auto_vec (obviating having to explicitly release them) and for the same reason also replacing the comp_ptrs bare pointer mem

[PATCH] predcom: Refactor more using auto_vec

2021-07-18 Thread Kewen.Lin via Gcc-patches
Hi Martin & Richard, >> A further improvement worth considering (if you're so inclined :) >> is replacing the pcom_worker vec members with auto_vec (obviating >> having to explicitly release them) and for the same reason also >> replacing the comp_ptrs bare pointer members with auto_vecs. >> There