diff options
author | Jan Hubicka <jh@suse.cz> | 2007-02-04 00:35:42 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2007-02-03 23:35:42 +0000 |
commit | 3855c807ceb26c6adc9774cd9b9f7793939978bf (patch) | |
tree | d998d2832e7420def69a99beb6da3a0cadc8cdf5 /gcc/gcov-io.h | |
parent | 2b54c30fb0d5947b296e97191c4758864acfc976 (diff) | |
download | gcc-3855c807ceb26c6adc9774cd9b9f7793939978bf.zip gcc-3855c807ceb26c6adc9774cd9b9f7793939978bf.tar.gz gcc-3855c807ceb26c6adc9774cd9b9f7793939978bf.tar.bz2 |
re PR gcov-profile/30650 (ICE with -fprofile-use)
PR gcov-profile/30650
* value-prof.c (stringop_block_profile): Fix handling of size counter;
do not divide by zero for never executed counters.
(tree_find_values_to_profile): Fix counters.
* gcov-ui.h (GCOV_COUNTER_AVERAGE, GCOV_COUNTER_IOR): Fix comments.
From-SVN: r121554
Diffstat (limited to 'gcc/gcov-io.h')
-rw-r--r-- | gcc/gcov-io.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h index 61f3c66..a874b32 100644 --- a/gcc/gcov-io.h +++ b/gcc/gcov-io.h @@ -329,10 +329,10 @@ typedef HOST_WIDEST_INT gcov_type; consecutive values of expression. */ #define GCOV_COUNTER_V_INDIR 5 /* The most common indirect address */ -#define GCOV_COUNTER_AVERAGE 6 /* The most common difference between - consecutive values of expression. */ -#define GCOV_COUNTER_IOR 7 /* The most common difference between - consecutive values of expression. */ +#define GCOV_COUNTER_AVERAGE 6 /* Compute average value passed to the + counter. */ +#define GCOV_COUNTER_IOR 7 /* IOR of the all values passed to + counter. */ #define GCOV_LAST_VALUE_COUNTER 7 /* The last of counters used for value profiling. */ #define GCOV_COUNTERS 8 |