re PR go/66870 (split stack issues on ppc64le and ppc64)
authorIan Lance Taylor <iant@google.com>
Thu, 1 Oct 2015 14:43:57 +0000 (14:43 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 1 Oct 2015 14:43:57 +0000 (14:43 +0000)
PR go/66870
* gospec.c (lang_specific_driver): Only look for OPT_m32 if
TARGET_CAN_SPLIT_STACK_64BIT is defined.

From-SVN: r228342

gcc/go/ChangeLog
gcc/go/gospec.c

index a6e8dd5f1eecce7550fd0ca784e0e5f32d363ca4..be1fd0cb09bbdc5423ed6223b06d6275c62327b9 100644 (file)
@@ -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
index 2c60ee7db8f43fa96b357fe7d7a8b2277c7ec8ec..ca3c2d70d68643a68c23e0f85adef5384ce7a75b 100644 (file)
@@ -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: