public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1308
@ 2022-06-21 10:33 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-21 10:33 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d4a0780073bfaf96d72427d5138b74ef257ed625
commit d4a0780073bfaf96d72427d5138b74ef257ed625
Merge: 08e407e977e 29f57496698
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Fri Jun 17 06:39:03 2022 +0000
Merge #1308
1308: Fix formatting error on 32-bits targets r=CohenArthur a=dkm
Printing size_t as [unsigned] long (%ld or %lu) raises warnings on 32-bits
targets. As the GCC pretty printer doesn't have the equivalent of libc's %z/%zu,
fix all formats to use unsigned long and cast values.
refs #1229
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Rainer Orth <ro@gcc.gnu.org>
Co-authored-by: Marc Poulhiès <dkm@kataplop.net>
Diff:
gcc/rust/expand/rust-macro-expand.cc | 6 ++--
gcc/rust/expand/rust-macro-substitute-ctx.cc | 7 +++--
gcc/rust/lex/rust-lex.cc | 2 +-
gcc/rust/lint/rust-lint-marklive.cc | 4 +--
gcc/rust/rust-session-manager.cc | 4 +--
gcc/rust/typecheck/rust-hir-type-check-pattern.cc | 11 ++++---
gcc/rust/typecheck/rust-tyty.cc | 37 ++++++++++++++---------
7 files changed, 41 insertions(+), 30 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-21 10:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 10:33 [gcc/devel/rust/master] Merge #1308 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).