diff options
author | Jan Hubicka <jh@suse.cz> | 2013-08-01 12:03:55 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-08-01 10:03:55 +0000 |
commit | 1f0294333543d86e9507d847060d82376cb58297 (patch) | |
tree | 9d57aa854eace9464884f5aaa191d5a29384d6cc /gcc/profile.c | |
parent | c451f4d6c1727bc908e111346a1087ee7ccc1b2c (diff) | |
download | gcc-1f0294333543d86e9507d847060d82376cb58297.zip gcc-1f0294333543d86e9507d847060d82376cb58297.tar.gz gcc-1f0294333543d86e9507d847060d82376cb58297.tar.bz2 |
* profile.c (compute_value_histograms): Fix thinko.
From-SVN: r201401
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index 4ad7c9f..c469df5 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -891,7 +891,7 @@ compute_value_histograms (histogram_values values, unsigned cfg_checksum, gimple_add_histogram_value (cfun, stmt, hist); hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters); for (j = 0; j < hist->n_counters; j++) - if (aact_count[t]) + if (aact_count) hist->hvalue.counters[j] = aact_count[j]; else hist->hvalue.counters[j] = 0; |