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

Re: FDO patch -- make ic related vars TLS if target allows


On Wed, Apr 27, 2011 at 10:54 AM, Xinliang David Li <davidxl@google.com> wrote:
> Hi please review the trivial patch below. It reduces race conditions
> in value profiling. Another trivial change (to initialize
> function_list struct) is also included.
>
> Bootstrapped and regression tested on x86-64/linux.
>
> Thanks,
>
> David
>
>
> 2011-04-27 ?Xinliang David Li ?<davidxl@google.com>
>
> ? ? ? ?* tree-profile.c (init_ic_make_global_vars): Set
> ? ? ? ?tls attribute on ic vars.
> ? ? ? ?* coverage.c (coverage_end_function): Initialize
> ? ? ? ?function_list with zero.
>

This caused:

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


-- 
H.J.


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