]> git.ipfire.org Git - thirdparty/gcc.git/commit
borrowck: Fix debug prints on 32-bits architectures
authorArthur Cohen <arthur.cohen@embecosm.com>
Fri, 2 Aug 2024 09:10:52 +0000 (11:10 +0200)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Tue, 6 Aug 2024 13:38:34 +0000 (13:38 +0000)
commitbccb35bca09f92d580b87dbb8ec81e1ed890b10a
tree821255557487c24d59848bd985b6f8d98a55b283
parentd2f032feb04ac84a2de0f3d06547d5465b33a466
borrowck: Fix debug prints on 32-bits architectures

gcc/rust/ChangeLog:

* checks/errors/borrowck/rust-bir-builder.h: Cast size_t values to unsigned
long before printing.
* checks/errors/borrowck/rust-bir-fact-collector.h: Likewise.
gcc/rust/checks/errors/borrowck/rust-bir-builder.h
gcc/rust/checks/errors/borrowck/rust-bir-fact-collector.h