From 9cfe5c4aee94a3943cb021234bd7f05289c0bc0b Mon Sep 17 00:00:00 2001 From: Thomas Young Date: Tue, 25 May 2021 21:23:37 +0800 Subject: include memmodel.h above tm_p.h in order to build success in SPARC64 Fixes #450 --- gcc/config/sparc/sparc-rust.c | 1 + gcc/rust/rust-session-manager.cc | 1 + 2 files changed, 2 insertions(+) (limited to 'gcc') diff --git a/gcc/config/sparc/sparc-rust.c b/gcc/config/sparc/sparc-rust.c index 6ba2852..7c82131 100644 --- a/gcc/config/sparc/sparc-rust.c +++ b/gcc/config/sparc/sparc-rust.c @@ -19,6 +19,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tm.h" +#include "memmodel.h" #include "tm_p.h" #include "rust/rust-target.h" #include "rust/rust-target-def.h" diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc index 5e9746f..eb52a50 100644 --- a/gcc/rust/rust-session-manager.cc +++ b/gcc/rust/rust-session-manager.cc @@ -26,6 +26,7 @@ #include "target.h" #include "tm.h" +#include "memmodel.h" #include "tm_p.h" //#include "rust-target.h" -- cgit v1.1