projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ab1d63
)
[freebsd] d: Fix build failures on sparc64-*-freebsd*
author
Iain Buclaw
<ibuclaw@gdcproject.org>
Sun, 21 Mar 2021 16:51:39 +0000
(17:51 +0100)
committer
Iain Buclaw
<ibuclaw@gdcproject.org>
Fri, 26 Mar 2021 15:14:12 +0000
(16:14 +0100)
All target platforms that could run on SPARC should include this header
in order to avoid errors from memmodel being used in sparc-protos.h.
gcc/ChangeLog:
* config/freebsd-d.c: Include memmodel.h.
gcc/config/freebsd-d.c
patch
|
blob
|
history
diff --git
a/gcc/config/freebsd-d.c
b/gcc/config/freebsd-d.c
index
425ca83
..
8a8ddd9
100644
(file)
--- a/
gcc/config/freebsd-d.c
+++ b/
gcc/config/freebsd-d.c
@@
-18,6
+18,7
@@
along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
+#include "memmodel.h"
#include "tm.h"
#include "tm_p.h"
#include "d/d-target.h"