> Le 10 févr. 2015 à 12:42, Tom de Vries <tom_devr...@mentor.com> a écrit :
> 
> I think we need to understand first what's going on.

Sure, my patch was mainly to silence the failures on my working tree.

> In both test-cases, on Linux with -fpic the inlining of one function into the 
> other is not done, because we cannot be sure the function call in one 
> function binds to the other function at runtime.

I don’t understand why -fpic should change the inlining decision (except 
register pressure and so on).

> So, is the inlining happening with -fpic for Darwin? If so, is that correct?

The inlining is happening for darwin. I don’t know if that is correct or not. 
The test has been introduced at r143947 (Thu Feb 5 00:29:48 2009) and the only 
failures I have seen are due to r 220532 (checked back to r154691).

Dominique

> Thanks,
> - Tom

Reply via email to