r239323 - in /trunk/gcc: ChangeLog common.opt c...
marxin@gcc.gnu.org
marxin@gcc.gnu.org
Wed Aug 10 13:11:00 GMT 2016
Author: marxin
Date: Wed Aug 10 13:11:42 2016
New Revision: 239323
URL: https://gcc.gnu.org/viewcvs?rev=239323&root=gcc&view=rev
Log:
Cherry-pick fprofile-generate-atomic from google/gcc-4_9
Cherry picked (and modified) from google-4_7 branch
2012-12-26 Rong Xu <xur@google.com>
* common.opt (fprofile-update): Add new flag.
* coretypes.h: Define enum profile_update.
* doc/invoke.texi: Document -fprofile-update.
* gcov-io.h: Declare GCOV_TYPE_ATOMIC_FETCH_ADD and
GCOV_TYPE_ATOMIC_FETCH_ADD_FN.
* tree-profile.c (gimple_init_edge_profiler): Generate
also atomic profiler update.
(gimple_gen_edge_profiler): Likewise.
* g++.dg/gcov/gcov-threads-1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/common.opt
trunk/gcc/coretypes.h
trunk/gcc/doc/invoke.texi
trunk/gcc/gcov-io.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-profile.c
More information about the Gcc-cvs
mailing list