]> git.ipfire.org Git - people/ms/gcc.git/commit
Fix `FeatureGate::gate` will crash on 32-bit x86. devel/rust/master
authorXiao Ma <turingki@yeah.net>
Thu, 2 Mar 2023 02:31:36 +0000 (02:31 +0000)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 20 Mar 2023 22:16:00 +0000 (22:16 +0000)
commit4f76aad18b2b765ecfe8682ea38209e09d4d3bd2
treec88d63c543d4baadac9a5d69c43d8407093d027a
parenta8662e89f84e91466acc09e28b4a289d298498ee
Fix `FeatureGate::gate` will crash on 32-bit x86.

gcc/rust/ChangeLog:

* checks/errors/rust-feature-gate.cc: Adjust 'ld'->'u'.
* checks/errors/rust-feature.h: Adjust
the type of `m_issue`: 'uint64_t' -> 'unsigned'.

Signed-off-by: Xiao Ma <mxlol233@outlook.com>
Co-authored-by: Thomas Schwinge <thomas@codesourcery.com>
gcc/rust/checks/errors/rust-feature-gate.cc
gcc/rust/checks/errors/rust-feature.h