tree-profile.c (gcov_type_tmp_var): New global variable.
authorRichard Guenther <rguenther@suse.de>
Fri, 7 Dec 2007 10:39:14 +0000 (10:39 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 7 Dec 2007 10:39:14 +0000 (10:39 +0000)
commit9225443e8ba248edba04c757fb624d9be372e049
tree827e576fefcb176c59daffe8692b445d427bee4d
parent9d0b161968e86cf863d96e2798d2961d7cc8bf8d
tree-profile.c (gcov_type_tmp_var): New global variable.

2007-12-07  Richard Guenther  <rguenther@suse.de>

* tree-profile.c (gcov_type_tmp_var): New global variable.
(tree_gen_edge_profiler): Use a single shared variable decl per
function for edge counter incrementing.
(tree_profiling): Re-set the shared variable.

From-SVN: r130672
gcc/ChangeLog
gcc/tree-profile.c