]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Fix `FeatureGate::gate` will crash on 32-bit x86.
authorXiao Ma <turingki@yeah.net>
Thu, 2 Mar 2023 02:31:36 +0000 (02:31 +0000)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:21:13 +0000 (18:21 +0100)
commit2163af71247b99e8fd707e5d6da83d14456e02a5
tree93d3ae50cc5207033f30341a87a88615d665d5e7
parent7e7cffb709def41f3df115d7be4ce86b466d5011
gccrs: 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