]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
bootstrap: tm_p.h requires memmodel.h on SPARC.
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 20 Oct 2023 19:51:51 +0000 (15:51 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Fri, 20 Oct 2023 19:53:17 +0000 (15:53 -0400)
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

index 1b345dab766c471910b847a2b2ea57e7bc5e8784..441df5ac21c65f4c9d9c0ecc0aa5c6b07177a4cc 100644 (file)
@@ -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"