Re: [PATCH][OBVIOUS] rs6000: fix symtab_node::get == NULL issue

2021-09-15 Thread Martin Liška
On 9/15/21 20:40, David Edelsohn wrote: This needs an additional adjustment. The encoding decoration needs to be applied if the decl isn't an alias. That means both a null summary *OR* the decl is not explicitly an alias. Oh, sorry, I made a stupid thinko. Please install the patch. Martin

Re: [PATCH][OBVIOUS] rs6000: fix symtab_node::get == NULL issue

2021-09-15 Thread David Edelsohn via Gcc-patches
This needs an additional adjustment. The encoding decoration needs to be applied if the decl isn't an alias. That means both a null summary *OR* the decl is not explicitly an alias. I'm proposing the following: diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index d0830a950

[PATCH][OBVIOUS] rs6000: fix symtab_node::get == NULL issue

2021-09-15 Thread Martin Liška
Hello. The patch is approved by David and fixes the issue described in the PR. Martin PR target/102349 gcc/ChangeLog: * config/rs6000/rs6000.c (rs6000_xcoff_encode_section_info): Check that we have a symbol summary for a symbol. --- gcc/config/rs6000/rs6000.c | 1 + 1