projects
/
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 592bd3135487b3d5e441d9eb79c65c50f2563255..cae1be0b0555a55baf29fcc6c8c2058acf3d5cb2 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 4ad7c9f3ab1e3d48c6c9985c1af0053c85ec6991..c469df56dba70c754d4f2be80e2ee8ccbbd0400b 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;