This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/53991] _mm_popcnt_u64 fails with -O3 -fgnu-tm


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53991

--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> ---
> 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;
>     }
Instead of CIF_UNSPECIFIED we should have warning/error for this case.
Jakub, what should be the behaviour when !tm_pure always_inline
is called from tm_pure function?

Honza

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