r194725 - in /branches/google/gcc-4_7: gcc/comm...
xur@gcc.gnu.org
xur@gcc.gnu.org
Wed Dec 26 19:46:00 GMT 2012
Author: xur
Date: Wed Dec 26 19:46:45 2012
New Revision: 194725
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194725
Log:
2012-12-26 Rong Xu <xur@google.com>
* libgcc/libgcov.c (__gcov_one_value_profiler_body_atomic): New
function. Atomic update profile counters.
(__gcov_one_value_profiler_atomic): Ditto.
(__gcov_indirect_call_profiler_atomic): Ditto.
* gcc/gcov-io.h: Macros for atomic update.
* gcc/common.opt: New option.
* gcc/tree-profile.c (gimple_init_edge_profiler): Atomic
update profile counters.
(gimple_gen_edge_profiler): Ditto.
Modified:
branches/google/gcc-4_7/gcc/common.opt
branches/google/gcc-4_7/gcc/gcov-io.h
branches/google/gcc-4_7/gcc/tree-profile.c
branches/google/gcc-4_7/libgcc/libgcov.c
More information about the Gcc-cvs
mailing list