projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2631d95
)
gcov-tool: Fix merging of different endian coverage data [PR96267]
author
Dong JianQiang
<dongjianqiang2@huawei.com>
Tue, 21 Jul 2020 17:24:52 +0000
(
01:24
+0800)
committer
Martin Liska
<mliska@suse.cz>
Thu, 23 Jul 2020 13:04:17 +0000
(15:04 +0200)
2020-07-21 Dong JianQiang <dongjianqiang2@huawei.com>
gcc/ChangeLog:
PR gcov-profile/96267
* gcov-io.c (gcov_open): enable if IN_GCOV_TOOL.
gcc/gcov-io.c
patch
|
blob
|
history
diff --git
a/gcc/gcov-io.c
b/gcc/gcov-io.c
index ac60f9baf47e1c5d81196b7c732f6b83c10cc602..4db56f8aacfc036cc3a6945c4fe2485c75e54c21 100644
(file)
--- a/
gcc/gcov-io.c
+++ b/
gcc/gcov-io.c
@@
-144,7
+144,7
@@
gcov_open (const char *name, int mode)
gcov_var.offset = gcov_var.length = 0;
gcov_var.overread = -1u;
gcov_var.error = 0;
-#if !IN_LIBGCOV
+#if !IN_LIBGCOV
|| defined (IN_GCOV_TOOL)
gcov_var.endian = 0;
#endif
#if GCOV_LOCKED