On Thu, Feb 6, 2014 at 10:45 AM, Richard Biener <rguent...@suse.de> wrote: > On Thu, 6 Feb 2014, Jakub Jelinek wrote: > >> On Wed, Feb 05, 2014 at 08:42:27PM +0100, Jakub Jelinek wrote: >> > So, where do we want to do that instead? E.g. should it be e.g. in >> > tree_versionable_function_p directly and let the inliner (if it doesn't do >> > already) also treat optimize(0) functions that aren't always_inline as >> > noinline? >> >> So, another attempt to put the && opt_for_fn (fndecl, optimize) into >> tree_versionable_function_p also failed, because e.g. for TM (but also for >> SIMD clones) we need to clone -O0 functions. So, can I fix PR600{6,7}2 >> without touching tree-inline.c and fix PR60026 again separately somehow else >> as follow-up? Bootstrapped/regtested on x86_64-linux and i686-linux. > > That works for me.
Also OK for x86. Thanks, Uros.