> On 03/30/2015 01:19 PM, Jan Hubicka wrote: > >I think the problem is that C++ FE does not ask about copy_forbidden and > >clone > >ctor anyway? > > maybe_clone_body checks tree_versionable_function_p and doesn't > clone if it's false. > > ...ok, now I've actually checked the testcase. In this case there > is a single clone and an alias, so there is only one version of the > label.
Will there be only one copy even on targets that do not support aliases? Still, it would be great if we can make context to be the actual function. Otherwise I will need to figure out some way to represent the link in between static variable and function it takes label of... Thanks! Honza > > Jason