aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-01-17 14:15:27 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-18 09:54:31 +0100
commit2341df1cb9b3681bfefe29207887b2b3dc271a95 (patch)
tree7e47fe2a3ceb0ed9f694e515d7ac7cc8e547b6a0 /gcc/sched-int.h
parent484f48f03cf9a382b3bcf4dadac09c4ee59c2ddf (diff)
downloadgcc-2341df1cb9b3681bfefe29207887b2b3dc271a95.zip
gcc-2341df1cb9b3681bfefe29207887b2b3dc271a95.tar.gz
gcc-2341df1cb9b3681bfefe29207887b2b3dc271a95.tar.bz2
rust_debug: Cast size_t values to unsigned long before printing.
Using %lu to format size_t values breaks 32 bit targets, and %zu is not supported by one of the hosts GCC aims to support - HPUX gcc/rust/ChangeLog: * backend/rust-compile-base.cc (HIRCompileBase::resolve_method_address): Cast size_t value to unsigned long. * expand/rust-proc-macro.cc (load_macros): Likewise. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Likewise.
Diffstat (limited to 'gcc/sched-int.h')
0 files changed, 0 insertions, 0 deletions