On Thu, Nov 22, 2012 at 11:29:05AM +0400, Dmitry Vyukov wrote:
> +static bool
> +tsan_gate (void)
> +{
> +  return flag_tsan != 0
> +      && builtin_decl_implicit_p (BUILT_IN_TSAN_INIT);
> 
> 
> What does it mean? Why builtin_decl_implicit_p (BUILT_IN_TSAN_INIT)?

It is a temporary workaround, I'll handle it when the patch goes in.
The thing is that while the C/C++ family of FEs will create all the builtins
just because they are included in builtins.def, other FEs won't.
So we need some routine that will build the builtins if the FEs didn't
initialize them.

        Jakub

Reply via email to