summaryrefslogtreecommitdiff
path: root/gcc/gcov-dump.c
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-26 16:55:10 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-26 16:55:10 +0000
commit77a89ce1ce0b877655e30319de586c09c1208637 (patch)
treef82b07c8e80193a8fc0c8a5fe9eabdc6f54a41eb /gcc/gcov-dump.c
parent81d1e3152e8a231fd349d3258e375ceeb1ea7b37 (diff)
downloadgcc-77a89ce1ce0b877655e30319de586c09c1208637.tar.gz
* gcov-dump.c (print_prefix): Fix signedness warning.
* gcov-io.h (struct counter_section, struct counter_section_data): New. (struct function_info): n_arc_counts field removed, n_counter_sections, counter_sections fields added. (struct gcov_info): arc_counts, n_arc_counts fields removed, n_counter_sections, counter_sections fields added. * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple profile sections. * profile.h (MAX_COUNTER_SECTIONS): New. (struct section_info): New. (struct profile_info): count_instrumented_edges, count_edges_instrumented_now fields removed, n_sections, section_info fields added. (find_counters_section): Declare. * profile.c (struct function_list): count_edges field removed, n_counter_sections, counter_sections fields added. (set_purpose, label_for_tag, build_counter_section_fields, build_counter_section_value, build_counter_section_data_fields, build_counter_section_data_value, build_function_info_fields, build_function_info_value, build_gcov_info_fields, build_gcov_info_value): New static functions. (find_counters_section): New function. (instrument_edges, get_exec_counts, compute_branch_probabilities, branch_prob, create_profiler): Modified to support multiple profile sections. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63474 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov-dump.c')
-rw-r--r--gcc/gcov-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c
index 4da05917e75..acea56d9d64 100644
--- a/gcc/gcov-dump.c
+++ b/gcc/gcov-dump.c
@@ -131,7 +131,7 @@ print_prefix (filename, depth)
{
static const char prefix[] = " ";
- printf ("%s:%.*s", filename, depth, prefix);
+ printf ("%s:%.*s", filename, (int) depth, prefix);
}
static void