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: PR middle-end/52142: disallow inlining of certain TM_pure functions


On 02/14/2012 10:39 AM, Torvald Riegel wrote:
> Will it inline transaction_pure into transaction_callable too?  That
> would not be good if we actually instrument the transaction_callable.

No, it restricts pure into pure and into nothing else.

> Inlining transaction_pure into completely nontransactional code is fine
> though.

We don't know what is in fact "nontransactional code" until we've examined
the entire call graph.  And as far as the information available at the spot
that Aldy is patching, we don't have all the call graph info anyway.


r~


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