Re: [PATCH] predcom: Fix up component::component [PR105056]

2022-03-28 Thread Richard Biener via Gcc-patches
On Sat, 26 Mar 2022, Jakub Jelinek wrote: > Hi! > > The recent change didn't initialize comp_step while previously we used > XCNEW to allocate it. > > I think RS_ANY is better than RS_INTERNAL (== 0) as the default. > > Bootstrappedd/regtested on x86_64-linux and i686-linux, ok for trunk? OK.

[PATCH] predcom: Fix up component::component [PR105056]

2022-03-28 Thread Jakub Jelinek via Gcc-patches
Hi! The recent change didn't initialize comp_step while previously we used XCNEW to allocate it. I think RS_ANY is better than RS_INTERNAL (== 0) as the default. Bootstrappedd/regtested on x86_64-linux and i686-linux, ok for trunk? 2022-03-26 Jakub Jelinek PR tree-optimization/10505