https://gcc.gnu.org/g:9ba10b08213a25854909836660f28914149d723b
commit r15-8327-g9ba10b08213a25854909836660f28914149d723b Author: badumbatish <tanghocle...@gmail.com> Date: Mon Aug 19 16:39:11 2024 -0700 gccrs: Fix the disorder struct and class in inline asm gcc/rust/ChangeLog: * ast/rust-ast-full-decls.h (struct InlineAsmOperand): Change to class (class InlineAsmOperand): Change from struct * hir/tree/rust-hir-full-decls.h (struct InlineAsmRegOrRegClass): Removed from decl, used from AST (struct AnonConst): new decl from rust-hir-expr.h (class InlineAsmOperand): new decl from rust-hir-expr.h Diff: --- gcc/rust/ast/rust-ast-full-decls.h | 2 +- gcc/rust/hir/tree/rust-hir-full-decls.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/rust/ast/rust-ast-full-decls.h b/gcc/rust/ast/rust-ast-full-decls.h index 85f7373678a0..80d217e0c528 100644 --- a/gcc/rust/ast/rust-ast-full-decls.h +++ b/gcc/rust/ast/rust-ast-full-decls.h @@ -148,7 +148,7 @@ class AsyncBlockExpr; enum class InlineAsmOption; struct AnonConst; struct InlineAsmRegOrRegClass; -struct InlineAsmOperand; +class InlineAsmOperand; struct InlineAsmPlaceHolder; struct InlineAsmTemplatePiece; struct TupleClobber; diff --git a/gcc/rust/hir/tree/rust-hir-full-decls.h b/gcc/rust/hir/tree/rust-hir-full-decls.h index efe7c450fd26..64be7bf93d1f 100644 --- a/gcc/rust/hir/tree/rust-hir-full-decls.h +++ b/gcc/rust/hir/tree/rust-hir-full-decls.h @@ -125,7 +125,8 @@ class AwaitExpr; class AsyncBlockExpr; class InlineAsmReg; class InlineAsmRegClass; -struct InlineAsmRegOrRegClass; +struct AnonConst; +class InlineAsmOperand; class InlineAsm; // rust-stmt.h