gcc/libgcc
Martin Liska a266236e85 Add new *_atomic counter update function
PR gcov-profile/58306
	* Makefile.in: New functions (modules) are added.
	* libgcov-profiler.c (__gcov_interval_profiler_atomic): New
	function.
	(__gcov_pow2_profiler_atomic): New function.
	(__gcov_one_value_profiler_body): New argument is instroduced.
	(__gcov_one_value_profiler): Call with the new argument.
	(__gcov_one_value_profiler_atomic): Likewise.
	(__gcov_indirect_call_profiler_v2): Likewise.
	(__gcov_time_profiler_atomic): New function.
	(__gcov_average_profiler_atomic): Likewise.
	(__gcov_ior_profiler_atomic): Likewise.
	* libgcov.h: Declare the aforementioned functions.
	PR gcov-profile/58306
	* gcc.dg/tree-prof/val-profiler-threads-1.c: New test.
	PR gcov-profile/58306
	* tree-profile.c (gimple_init_edge_profiler): Create conditionally
	atomic variants of profile update functions.

From-SVN: r239324
2016-08-10 13:14:56 +00:00
..
2015-09-28 22:50:22 +01:00
2015-09-24 09:00:22 +00:00
2016-04-30 09:11:03 +00:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-08-09 21:02:24 +00:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00