On Fri, Nov 1, 2024 at 9:22 AM KuanLin Chen wrote:
>
> simulate_builtin_function_decl may return decl that be ggc_freed already
> in pushdecl when duplicate_decls is true.
It shouldn't do that. It should either return the duplicate or NULL, so this is
definitely not a good fix - well, it's to th
Hi Richard:
The last attempt[1] from Jin Ma is to check the returned decl, and I
agree that seems not the right way to fix it, but I'm not sure if
that's the right way to fix this issue from your point of view?
Thanks
[1]
https://patchwork.sourceware.org/project/gcc/patch/2024091002.591-1-j