Commit 72602c6c by Richard Biener Committed by Richard Biener

libgcov.h (struct gcov_fn_info): Make ctrs size 1.

2014-07-14  Richard Biener  <rguenther@suse.de>

	* libgcov.h (struct gcov_fn_info): Make ctrs size 1.

From-SVN: r212520
parent b40d9361
2014-07-14 Richard Biener <rguenther@suse.de>
* libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2014-07-11 Rong Xu <xur@google.com> 2014-07-11 Rong Xu <xur@google.com>
* libgcov-util.c (gcov_max_filename): Fix declartion. * libgcov-util.c (gcov_max_filename): Fix declartion.
......
...@@ -181,7 +181,7 @@ struct gcov_fn_info ...@@ -181,7 +181,7 @@ struct gcov_fn_info
gcov_unsigned_t ident; /* unique ident of function */ gcov_unsigned_t ident; /* unique ident of function */
gcov_unsigned_t lineno_checksum; /* function lineo_checksum */ gcov_unsigned_t lineno_checksum; /* function lineo_checksum */
gcov_unsigned_t cfg_checksum; /* function cfg checksum */ gcov_unsigned_t cfg_checksum; /* function cfg checksum */
struct gcov_ctr_info ctrs[0]; /* instrumented counters */ struct gcov_ctr_info ctrs[1]; /* instrumented counters */
}; };
/* Type of function used to merge counters. */ /* Type of function used to merge counters. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment