On 04/10/2014 09:27 AM, Jakub Jelinek wrote:
The following patch copies that flag in the C++ FE, another alternative is to do that in cgraph_add_thunk function (apparently only called by use_thunk, thus practically the same spot, or it can be done in function_and_variable_visibility.
I think Honza and I agreed yesterday to copy it in function_and_variable_visibility.
Jason