aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Young <wenzhang5800@gmail.com>2021-05-25 21:23:37 +0800
committerThomas Young <wenzhang5800@gmail.com>2021-05-25 21:40:33 +0800
commit9cfe5c4aee94a3943cb021234bd7f05289c0bc0b (patch)
tree19d998df6c610fc8f4a3e56f94d985aea4d0c83f /gcc
parent41fbeec90c31a0e13e2884b63633919f73e10a08 (diff)
downloadgcc-9cfe5c4aee94a3943cb021234bd7f05289c0bc0b.zip
gcc-9cfe5c4aee94a3943cb021234bd7f05289c0bc0b.tar.gz
gcc-9cfe5c4aee94a3943cb021234bd7f05289c0bc0b.tar.bz2
include memmodel.h above tm_p.h in order to build success in SPARC64
Fixes #450
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/sparc-rust.c1
-rw-r--r--gcc/rust/rust-session-manager.cc1
2 files changed, 2 insertions, 0 deletions
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"