gcc/libgcc
Martin Liska 1bac97ad04 libgcov: use proper type for n_functions
gcov_info::n_functions type is initialized by generated
code in build_info_type:

/* n_functions */
field = build_decl (BUILTINS_LOCATION, FIELD_DECL, NULL_TREE,
		    get_gcov_unsigned_t ());

It uses gcov_unsigned_t, but the struct definition in libgcov.h uses
unsigned type. That brings troubled on 16-bit targets.

	PR gcov-profile/105535

libgcc/ChangeLog:

	* libgcov.h (struct gcov_info): Use gcov_unsigned_t for
	n_functions.

Co-Authored-By: Hans-Peter Helfert <peter-helfert@t-online.de>
2022-05-10 12:47:10 +02:00
..
config libgcc: IA64: don't compile glibc-based unwinder without libc headers 2022-04-08 08:01:06 +01:00
soft-fp Update hf soft-fp from glibc. 2021-09-02 14:11:53 +08:00
ChangeLog Daily bump. 2022-05-03 00:16:25 +00:00
Makefile.in Update copyright years. 2022-01-03 10:42:10 +01:00
config.host LoongArch Port: libgcc 2022-03-29 17:43:35 +08:00
config.in gcov: use mmap pools for KVP. 2021-03-03 14:21:45 +01:00
configure LoongArch Port: Regenerate libgcc/configure. 2022-03-29 17:43:35 +08:00
configure.ac LoongArch Port: libgcc 2022-03-29 17:43:35 +08:00
crtstuff.c Update copyright years. 2022-01-03 10:42:10 +01:00
dfp-bit.c Update copyright years. 2022-01-03 10:42:10 +01:00
dfp-bit.h Update copyright years. 2022-01-03 10:42:10 +01:00
divmod.c Update copyright years. 2022-01-03 10:42:10 +01:00
emutls.c Update copyright years. 2022-01-03 10:42:10 +01:00
enable-execute-stack-empty.c
enable-execute-stack-mprotect.c Update copyright years. 2022-01-03 10:42:10 +01:00
find-symver.awk Update copyright years. 2022-01-03 10:42:10 +01:00
fixed-bit.c Update copyright years. 2022-01-03 10:42:10 +01:00
fixed-bit.h Update copyright years. 2022-01-03 10:42:10 +01:00
fixed-obj.mk
floatunsidf.c
floatunsisf.c
floatunsitf.c
floatunsixf.c
fp-bit.c Update copyright years. 2022-01-03 10:42:10 +01:00
fp-bit.h Update copyright years. 2022-01-03 10:42:10 +01:00
gbl-ctors.h Update copyright years. 2022-01-03 10:42:10 +01:00
gcov.h gcov: Add __gcov_filename_to_gcfn() 2022-04-28 20:46:49 +02:00
gen-fixed.sh
generic-morestack-thread.c Update copyright years. 2022-01-03 10:42:10 +01:00
generic-morestack.c Update copyright years. 2022-01-03 10:42:10 +01:00
generic-morestack.h Update copyright years. 2022-01-03 10:42:10 +01:00
gstdint.h
gthr-posix.h Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-single.h Update copyright years. 2022-01-03 10:42:10 +01:00
gthr.h Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc-std.ver.in Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc2.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc2.h Update copyright years. 2022-01-03 10:42:10 +01:00
libgcov-driver-system.c gcov: Add open mode parameter to gcov_do_dump() 2022-04-28 20:46:49 +02:00
libgcov-driver.c libgcov: add ATTRIBUTE_UNUSED for dump_string 2022-05-02 06:46:05 +02:00
libgcov-interface.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgcov-merge.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgcov-profiler.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgcov-util.c gcov: Use xstrerror() 2022-04-28 20:46:50 +02:00
libgcov.h libgcov: use proper type for n_functions 2022-05-10 12:47:10 +02:00
memcmp.c
memcpy.c
memmove.c
memset.c
mkheader.sh Update copyright years. 2022-01-03 10:42:10 +01:00
mkmap-flat.awk Update copyright years. 2022-01-03 10:42:10 +01:00
mkmap-symver.awk Update copyright years. 2022-01-03 10:42:10 +01:00
offloadstuff.c Update copyright years. 2022-01-03 10:42:10 +01:00
shared-object.mk
siditi-object.mk
static-object.mk
sync.c Update copyright years. 2022-01-03 10:42:10 +01:00
udivhi3.c Update copyright years. 2022-01-03 10:42:10 +01:00
udivmod.c Update copyright years. 2022-01-03 10:42:10 +01:00
udivmodhi4.c Update copyright years. 2022-01-03 10:42:10 +01:00
udivmodsi4.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-arm-common.inc Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-c.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-compat.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-compat.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-dw2-fde-compat.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-dw2-fde-dip.c libgcc: fix a warning calling find_fde_tail 2022-02-25 03:10:37 +08:00
unwind-dw2-fde.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-dw2-fde.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-dw2.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-dw2.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-generic.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-pe.h Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-seh.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind-sjlj.c Update copyright years. 2022-01-03 10:42:10 +01:00
unwind.inc Update copyright years. 2022-01-03 10:42:10 +01:00
vtv_end.c Update copyright years. 2022-01-03 10:42:10 +01:00
vtv_end_preinit.c Update copyright years. 2022-01-03 10:42:10 +01:00
vtv_start.c Update copyright years. 2022-01-03 10:42:10 +01:00
vtv_start_preinit.c Update copyright years. 2022-01-03 10:42:10 +01:00