projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c451f4d
)
* profile.c (compute_value_histograms): Fix thinko.
author
Jan Hubicka
<jh@suse.cz>
Thu, 1 Aug 2013 10:03:55 +0000
(12:03 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Thu, 1 Aug 2013 10:03:55 +0000
(10:03 +0000)
From-SVN: r201401
gcc/ChangeLog
patch
|
blob
|
history
gcc/profile.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index
592bd31
..
cae1be0
100644
(file)
--- 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
(file)
--- 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;