https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119600
Bug ID: 119600
Summary: HOST_WIDEST_FAST_INT should be used instead of long
for BITMAP_WORD in bitmap.h
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: compile-time-hog
Severity: enhancement
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Host: mingw
Using HOST_WIDEST_FAST_INT instead of long for BITMAP_WORD in bitmap.h only
helps x86_64-mingw (and aarch64-mingw but that is not supported yet) as hosts.
I don't have a setup for mingw otherwise I would test the patch.
The reason is long is still 32bit while the target has 64bit registers.
HOST_WIDEST_FAST_INT defines the widest integer that fits in the register.
Looks like I missed this while I implemented PR 13987.