This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix partition WRT static variables taking address of labels


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.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]