]> gcc.gnu.org Git - gcc.git/commitdiff
* profile.c (compute_value_histograms): Fix thinko.
authorJan Hubicka <jh@suse.cz>
Thu, 1 Aug 2013 10:03:55 +0000 (12:03 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 1 Aug 2013 10:03:55 +0000 (10:03 +0000)
From-SVN: r201401

gcc/ChangeLog
gcc/profile.c

index 592bd3135487b3d5e441d9eb79c65c50f2563255..cae1be0b0555a55baf29fcc6c8c2058acf3d5cb2 100644 (file)
@@ -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
index 4ad7c9f3ab1e3d48c6c9985c1af0053c85ec6991..c469df56dba70c754d4f2be80e2ee8ccbbd0400b 100644 (file)
@@ -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;
This page took 0.090551 seconds and 5 git commands to generate.