Landing: 36f131b48e6a

Project / Subsystem

gcc / gcc

Date

2026-07-23

Author

John David Anglin

Commit

36f131b48e6a843e4d5c531e293cbba5e4256ada

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
36f131b48e6a843e4d5c531e293cbba5e4256ada
source_type
github
headline
Use HOST_SIZE_T_PRINT_UNSIGNED instead of %zu format string
tldr
Replaces %zu format specifier with HOST_SIZE_T_PRINT_UNSIGNED for increased host compatibility.
author
John David Anglin
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • portability
  • build system
discussion_id_link
bugzilla_pr
date
2026-07-23T00:00:00.000Z

The format string specifier %zu, used for printing size_t values, is not universally supported across all hosts. This change replaces it with HOST_SIZE_T_PRINT_UNSIGNED in crc-verification.cc to ensure broader compatibility and avoid potential runtime errors on systems lacking %zu support.