On Tue, May 06, 2025 at 01:17:54PM +0200, Richard Biener wrote: > On Tue, 6 May 2025, Jørgen Kvalsvik wrote: > > > Some systems don't support the %zu format modifier for size_t, such as > > hppa64-hp-hpux. We don't really need the full width of size_t for > > printing the number of prime paths as path counts of those sizes > > would've already blown up the machine. For printing the vector size we > > can use the formatting directives from hwint.h.
Why don't you use HOST_SIZE_T_PRINT_UNSIGNED + fmt_size_t casts everywhere? I mean, if it was using the gcc vec.h vectors, then those are limited to 4GB elements, length is just unsigned there, but libstdc++ vectors could have 8GB elements just fine. Jakub