Re: [patch] original function and TM clone has to be marked needed

2011-12-01 Thread Richard Henderson
On 11/30/2011 08:25 PM, Patrick Marlier wrote: > In the current version, the original function and its clone are marked as > taken with cgraph_mark_address_taken_node. But it seems not enough and it has > to be marked as needed. > It comes with a testcase (testsuite/g++.dg/tm/ctor-used.C). > > P

[patch] original function and TM clone has to be marked needed

2011-11-30 Thread Patrick Marlier
In the current version, the original function and its clone are marked as taken with cgraph_mark_address_taken_node. But it seems not enough and it has to be marked as needed. It comes with a testcase (testsuite/g++.dg/tm/ctor-used.C). Passed all TM tests. PS: Note that there is still a proble