[google main] change the gcda tag for module info (issue6430053)

Rong Xu xur@google.com
Thu Jul 19 22:32:00 GMT 2012


Hi,

This is for google branches only.

Change the module_info tag to an odd number to avoid the warning during dump.

-Rong

2012-07-19  Rong Xu  <xur@google.com>

	* gcc/gcov-io.h (GCOV_TAG_MODULE_INFO): tag needs to be
        an odd number in each active level.

Index: gcc/gcov-io.h
===================================================================
--- gcc/gcov-io.h	(revision 189690)
+++ gcc/gcov-io.h	(working copy)
@@ -441,7 +441,6 @@ typedef HOST_WIDEST_INT gcov_type;
 #define GCOV_TAG_PROGRAM_SUMMARY ((gcov_unsigned_t)0xa3000000)
 #define GCOV_TAG_SUMMARY_LENGTH  \
 	(1 + GCOV_COUNTERS_SUMMABLE * (3 + 3 * 2))
-#define GCOV_TAG_MODULE_INFO ((gcov_unsigned_t)0xa4000000)
 #define GCOV_TAG_PMU_LOAD_LATENCY_INFO ((gcov_unsigned_t)0xa5000000)
 #define GCOV_TAG_PMU_LOAD_LATENCY_LENGTH(filename)  \
   (gcov_string_length (filename) + 12 + 2)
@@ -449,6 +448,7 @@ typedef HOST_WIDEST_INT gcov_type;
 #define GCOV_TAG_PMU_BRANCH_MISPREDICT_LENGTH(filename)  \
   (gcov_string_length (filename) + 5 + 2)
 #define GCOV_TAG_PMU_TOOL_HEADER ((gcov_unsigned_t)0xa9000000)
+#define GCOV_TAG_MODULE_INFO ((gcov_unsigned_t)0xab000000)
 
 /* Counters that are collected.  */
 #define GCOV_COUNTER_ARCS 	0  /* Arc transitions.  */

--
This patch is available for review at http://codereview.appspot.com/6430053



More information about the Gcc-patches mailing list