aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/ChangeLog6
-rw-r--r--gcc/go/gospec.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog
index a6e8dd5..be1fd0c 100644
--- a/gcc/go/ChangeLog
+++ b/gcc/go/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-01 Ian Lance Taylor <iant@google.com>
+
+ PR go/66870
+ * gospec.c (lang_specific_driver): Only look for OPT_m32 if
+ TARGET_CAN_SPLIT_STACK_64BIT is defined.
+
2015-10-01 Lynn Boger <laboger@linux.vnet.ibm.com>
PR target/66870
diff --git a/gcc/go/gospec.c b/gcc/go/gospec.c
index 2c60ee7..ca3c2d7 100644
--- a/gcc/go/gospec.c
+++ b/gcc/go/gospec.c
@@ -158,9 +158,11 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options,
library = (library == 0) ? 1 : library;
break;
+#ifdef TARGET_CAN_SPLIT_STACK_64BIT
case OPT_m32:
saw_opt_m32 = true;
break;
+#endif
case OPT_pg:
case OPT_p: