aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/go-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/go-lang.c')
-rw-r--r--gcc/go/go-lang.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/go/go-lang.c b/gcc/go/go-lang.c
index 4687c6e..576e35f 100644
--- a/gcc/go/go-lang.c
+++ b/gcc/go/go-lang.c
@@ -35,6 +35,7 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks-def.h"
#include "except.h"
#include "target.h"
+#include "common/common-target.h"
#include <mpfr.h>
@@ -143,7 +144,7 @@ go_langhook_init_options_struct (struct gcc_options *opts)
opts->frontend_set_flag_errno_math = true;
/* We turn on stack splitting if we can. */
- if (targetm.supports_split_stack (false, opts))
+ if (targetm_common.supports_split_stack (false, opts))
opts->x_flag_split_stack = 1;
/* Exceptions are used to handle recovering from panics. */