From 73dc46f47be6157eaebc3fd089f57fab2304bb01 Mon Sep 17 00:00:00 2001
From: Eric Botcazou <ebotcazou@adacore.com>
Date: Tue, 27 Aug 2024 16:13:08 +0200
Subject: [PATCH] ada: Include missing associated header file

memmodel.h must be included alongside tm_p.h for the sake of the SPARC port.

gcc/ada/

	* gcc-interface/misc.cc: Include memmodel.h before tm_p.h.
---
 gcc/ada/gcc-interface/misc.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ada/gcc-interface/misc.cc b/gcc/ada/gcc-interface/misc.cc
index 645937f796ca..2aa1bfd410b2 100644
--- a/gcc/ada/gcc-interface/misc.cc
+++ b/gcc/ada/gcc-interface/misc.cc
@@ -28,6 +28,7 @@
 #include "coretypes.h"
 #include "target.h"
 #include "tree.h"
+#include "memmodel.h"
 #include "tm_p.h"
 #include "diagnostic.h"
 #include "opts.h"
-- 
GitLab