]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Include missing associated header file
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 27 Aug 2024 14:13:08 +0000 (16:13 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 10 Sep 2024 07:44:11 +0000 (09:44 +0200)
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

index 645937f796ca44e467ba30f1378048bcb5552f4c..2aa1bfd410b2dd1bfe88b79b03c571549fe7d6ee 100644 (file)
@@ -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"