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 | |
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')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/profile.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 592bd31..cae1be0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-08-01 Jan Hubicka <jh@suse.cz> + + * profile.c (compute_value_histograms): Fix thinko. + 2013-08-01 Sofiane Naci <sofiane.naci@arm.com> * config.gcc (aarch64*-*-*): Add aarch-common.o to extra_objs. Add 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; |