aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2012-06-30 11:42:52 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2012-06-30 11:42:52 +0000
commitcb686b9933487c30c0b40a56ad77550fe3c1c838 (patch)
treea70e5fccd55bbaf8e0965e83fa6b62299d11c5f0 /gcc/tree.h
parent1ec205bf200fa9e34f7cff4082eb73ac62f2248e (diff)
downloadgcc-cb686b9933487c30c0b40a56ad77550fe3c1c838.zip
gcc-cb686b9933487c30c0b40a56ad77550fe3c1c838.tar.gz
gcc-cb686b9933487c30c0b40a56ad77550fe3c1c838.tar.bz2
coverage.c (bbg_file_stamp): New.
* coverage.c (bbg_file_stamp): New. (read_counts_file): Merge incoming stamp with bbg_file_stamp. (build_info): Write bbg_file_stamp. (coverage_init): Initialize bbg_file_stamp. Read counts file before writing graph header. (coverage_finish): Don't unlink the data file if we can generate a unique file stamp. * tree.h (crc32_unsigned): Declare. * tree.c (crc32_unsigned_bits): New, broken out of ... (crc32_byte): ... here. Use it. (crc32_unsigned): New. From-SVN: r189095
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 5df8b84..43d5fdc 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -5170,6 +5170,7 @@ inlined_function_outer_scope_p (const_tree block)
/* In tree.c */
extern unsigned crc32_string (unsigned, const char *);
extern unsigned crc32_byte (unsigned, char);
+extern unsigned crc32_unsigned (unsigned, unsigned);
extern void clean_symbol_name (char *);
extern tree get_file_function_name (const char *);
extern tree get_callee_fndecl (const_tree);