https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96046
Bug ID: 96046
Summary: [11 Regression] GCC failed to bootstrap on 32-bit
hosts by r11-1778
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
CC: mliska at suse dot cz
Target Milestone: ---
On 32-bit hosts, r11-1778 caused:
../../src-master/gcc/gcov-dump.c: In function ??void tag_function(const char*,
unsigned int, int, unsigned int)??:
../../src-master/gcc/gcov-dump.c:312:34: error: comparison of integer
expressions of different signedness: ??long unsigned int?? and ??int??
[-Werror=sign-compare]
312 | if (gcov_position () - pos < length)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~