aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-10-24 10:47:59 +0200
committerMartin Liska <marxin@gcc.gnu.org>2018-10-24 08:47:59 +0000
commit19b5595858162b8a77b84db93b21b39a48dc2d0e (patch)
tree1ad536f2b3227e638ea02d3fafa0f66853a92a39 /libgcc
parentbf32992748c9849c38c089477d04b546e43ccdd1 (diff)
Remove reduntant dumps and make tp_first_run dump more compact.
2018-10-24 Martin Liska <mliska@suse.cz> * cgraph.c (cgraph_node::dump): Remove reduntant dumps and make tp_first_run dump more compact. 2018-10-24 Martin Liska <mliska@suse.cz> * libgcov-profiler.c: Start from 1 in order to distinguish functions which were seen and these that were not. From-SVN: r265454
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/libgcov-profiler.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 722cf48e8c1..73c6f59ae1e 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-24 Martin Liska <mliska@suse.cz>
+
+ * libgcov-profiler.c: Start from 1 in order to distinguish
+ functions which were seen and these that were not.
+
2018-10-18 Paul Koning <ni1d@arrl.net>
* udivmodsi4.c (__udivmodsi4): Rename to conform to coding
diff --git a/libgcc/libgcov-profiler.c b/libgcc/libgcov-profiler.c
index 7a5e50009ce..47c00ee4b4a 100644
--- a/libgcc/libgcov-profiler.c
+++ b/libgcc/libgcov-profiler.c
@@ -335,7 +335,7 @@ __gcov_indirect_call_profiler_v2 (gcov_type value, void* cur_func)
#ifdef L_gcov_time_profiler
/* Counter for first visit of each function. */
-gcov_type __gcov_time_profiler_counter ATTRIBUTE_HIDDEN;
+gcov_type __gcov_time_profiler_counter ATTRIBUTE_HIDDEN = 1;
#endif