Re: [03/13] tree-inline decl_map: skip mapping NULL to itself

2022-12-27 Thread Jeff Law via Gcc-patches
On 12/26/22 21:19, Alexandre Oliva via Gcc-patches wrote: Mapping a NULL key is no use, skip it. Regstrapped on x86_64-linux-gnu. Ok to install? for gcc/ChangeLog * tree-inline.cc (insert_decl_map): Skip mapping a NULL decl as value to itself. OK jeff

[03/13] tree-inline decl_map: skip mapping NULL to itself

2022-12-26 Thread Alexandre Oliva via Gcc-patches
Mapping a NULL key is no use, skip it. Regstrapped on x86_64-linux-gnu. Ok to install? for gcc/ChangeLog * tree-inline.cc (insert_decl_map): Skip mapping a NULL decl as value to itself. --- gcc/tree-inline.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --