http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53991
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- The inlining is failed in ipa-inline.c, around line 294: /* TM pure functions should not be inlined into non-TM_pure functions. */ else if (is_tm_pure (callee->symbol.decl) && !is_tm_pure (e->caller->symbol.decl)) { e->inline_failed = CIF_UNSPECIFIED; inlinable = false; }