[Bug tree-optimization/122498] [16 Regression] rust-enabled bootstrap is broken after r16-4897

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 12 16:05:22 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122498

--- Comment #27 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Arthur Cohen <cohenarthur@gcc.gnu.org>:

https://gcc.gnu.org/g:8af0e3dff44e931e81fa0e3777bffec06ebd8e26

commit r16-5198-g8af0e3dff44e931e81fa0e3777bffec06ebd8e26
Author: Arthur Cohen <arthur.cohen@embecosm.com>
Date:   Mon Nov 10 15:27:59 2025 +0100

    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>


More information about the Gcc-bugs mailing list