PR middle-end/52142: disallow inlining of certain TM_pure functions
Aldy Hernandez
aldyh@redhat.com
Tue Feb 14 18:06:00 GMT 2012
Here we inline a transaction_pure function into a non transaction_pure
function, but end up instrumenting all the memory operations in the
tm_pure function regardless.
As discussed in the PR, we should've disallowed inlining of TM_pure
functions into non TM_pure functions. We are currently only disabling a
subset of this, tm_safe callers. The patch below disallows all inlining
of TM_pure functions into non TM_pure functions.
No regressions.
OK? (I'm not sure whether the "looks good" was because I'm handsome, or
because it was an actual approval).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: curr
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120214/5eead23c/attachment.ksh>
More information about the Gcc-patches
mailing list