From 8f75e6cf583cf8db16334c0ba323801cbc9f4e7f Mon Sep 17 00:00:00 2001
From: David Edelsohn <dje.gcc@gmail.com>
Date: Fri, 20 Oct 2023 15:51:51 -0400
Subject: [PATCH] bootstrap: tm_p.h requires memmodel.h on SPARC.

SPARC target header references memmodel, which requires memmodel.h.

gcc/ChangeLog:

	* gimple-harden-control-flow.cc: Include memmodel.h.

Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
---
 gcc/gimple-harden-control-flow.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/gimple-harden-control-flow.cc b/gcc/gimple-harden-control-flow.cc
index 1b345dab766c..441df5ac21c6 100644
--- a/gcc/gimple-harden-control-flow.cc
+++ b/gcc/gimple-harden-control-flow.cc
@@ -23,6 +23,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "system.h"
 #include "coretypes.h"
 #include "backend.h"
+#include "memmodel.h"
 #include "tm_p.h"
 #include "tree.h"
 #include "fold-const.h"
-- 
GitLab