Re: A problem of weak & weakref function attribute

2022-12-09 Thread Andrew Pinski via Gcc
On Fri, Dec 9, 2022 at 7:17 PM 刘畅 via Gcc wrote: > > Hi all, > > I met a problem when I was testing the weak attribute and the weakref > attribute of GCC. I've read the documentation and in the 6.33.1 Common > Function Attributes - weakref part I found: > > Without a target given as an argumen

A problem of weak & weakref function attribute

2022-12-09 Thread 刘畅 via Gcc
Hi all, I met a problem when I was testing the weak attribute and the weakref attribute of GCC. I've read the documentation and in the 6.33.1 Common Function Attributes - weakref part I found: Without a target given as an argument to weakref or to alias, weakref is equivalent to weak (in that