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
soft-fp
ChangeLog Daily bump. 2022-05-03 00:16:25 +00:00
config.host
config.in
configure
configure.ac
crtstuff.c
dfp-bit.c
dfp-bit.h
divmod.c
emutls.c
enable-execute-stack-empty.c
enable-execute-stack-mprotect.c
find-symver.awk
fixed-bit.c
fixed-bit.h
fixed-obj.mk
floatunsidf.c
floatunsisf.c
floatunsitf.c
floatunsixf.c
fp-bit.c
fp-bit.h
gbl-ctors.h
gcov.h gcov: Add __gcov_filename_to_gcfn() 2022-04-28 20:46:49 +02:00
gen-fixed.sh
generic-morestack-thread.c
generic-morestack.c
generic-morestack.h
gstdint.h
gthr-posix.h
gthr-single.h
gthr.h
libgcc2.c
libgcc2.h
libgcc-std.ver.in
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
libgcov-merge.c
libgcov-profiler.c
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
Makefile.in
memcmp.c
memcpy.c
memmove.c
memset.c
mkheader.sh
mkmap-flat.awk
mkmap-symver.awk
offloadstuff.c
shared-object.mk
siditi-object.mk
static-object.mk
sync.c
udivhi3.c
udivmod.c
udivmodhi4.c
udivmodsi4.c
unwind-arm-common.inc
unwind-c.c
unwind-compat.c
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-dip.c
unwind-dw2-fde.c
unwind-dw2-fde.h
unwind-dw2.c
unwind-dw2.h
unwind-generic.h
unwind-pe.h
unwind-seh.c
unwind-sjlj.c
unwind.inc
vtv_end_preinit.c
vtv_end.c
vtv_start_preinit.c
vtv_start.c