aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2023-10-20 14:12:54 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2023-10-20 14:15:36 -0400
commita663fe63889db486d577b20aff0730034400bfe9 (patch)
treec27a5fc2e5442764ff90fc86743a14a5f2abfe06
parent5ac53c025e08b4c464b02cfc595e422813023c81 (diff)
downloadgcc-a663fe63889db486d577b20aff0730034400bfe9.zip
gcc-a663fe63889db486d577b20aff0730034400bfe9.tar.gz
gcc-a663fe63889db486d577b20aff0730034400bfe9.tar.bz2
bootstrap: Include tm_p.h
ASM_GENERATE_INTERNAL_LABEL may use target-specific functions, so tm_p.h must be included. This fixes bootstrap breakage on AIX, at least. gcc/ChangeLog * gimple-harden-control-flow.cc: Include tm_p.h. Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
-rw-r--r--gcc/gimple-harden-control-flow.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gimple-harden-control-flow.cc b/gcc/gimple-harden-control-flow.cc
index 5c28fd0..1b345da 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 "tm_p.h"
#include "tree.h"
#include "fold-const.h"
#include "gimple.h"