On 5/21/21 12:25 PM, 王留帅 via Gcc-patches wrote:
|Hi, ​ We, ByteDance, have seen an ICE on trunk which can be reproduced with the 
following symbol testcase. The problem is caused by referencing a null pointer 
when applying 'n_basic_blocks_for_fn' on a thunk symbol. For the thunk symbol, 
'DECL_STRUCT_FUNCTION (cnode->decl)' will return an empty pointer. ​|

Hello.

Thank you for the patch, I've just installed the patch
as 
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0f3cd532fa02d1787960bdd380d0a3f78343f024

Thanks,
Martin

Reply via email to