]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: fmt: Skip warnings in Fmt class due to unused devirt method [PR122498]
authorArthur Cohen <arthur.cohen@embecosm.com>
Mon, 10 Nov 2025 14:27:59 +0000 (15:27 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 12 Nov 2025 15:52:32 +0000 (16:52 +0100)
commit8af0e3dff44e931e81fa0e3777bffec06ebd8e26
treec729970044b7bb223d0c2fdbb4e6ac843758a4a6
parentc209c1598da631e0303e6db9556c80b587d61992
gccrs: fmt: Skip warnings in Fmt class due to unused devirt method [PR122498]

Since this warning is not easily fixable, avoid it for now and wait for
the underlying issue to be resolved.

gcc/rust/ChangeLog:

PR rust/122498
* ast/rust-fmt.h: Add -Warray-bounds pragma to avoid the issue during
bootstraps

Co-authored-by: Thomas Schwinge <tschwinge@gcc.gnu.org>
gcc/rust/ast/rust-fmt.h